SQL Injection in Themefic Tourfic – Ai Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin

CVE-2026-12937

The Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin plugin for WordPress is vulnerable to generic SQL Injection via the 'post_id' parameter in all versions up to, and including, 2.22.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The AJAX handler is registered for unauthenticated users via wp_ajax_nopriv_tf_room_availability, and the required nonce is emitted on the public single-hotel page template, allowing unauthenticated attackers to freely obtain a valid nonce and reach the vulnerable code path.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.005 (40.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 40.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-12937: held from 0.005 to 0.005.

EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-12937?
CVE-2026-12937 is a high-severity vulnerability in Themefic Tourfic – Ai Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin, classified under SQL Injection. CVSS score: 7.5/10. Published 2026-06-25.
How severe is CVE-2026-12937?
High severity. CVSS v3 base score is 7.5 out of 10.