Quick answers
- Is CVE-2026-12937 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-12937 being exploited in the wild.
- How severe is CVE-2026-12937?
- High severity, with a CVSS score of 7.5, published 25 June 2026.
- Which products and versions are affected?
- Themefic Tourfic up to, and including, 2.22.7.
- Is there a fix for CVE-2026-12937?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-12937 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-12937?
- Check whether you run Themefic Tourfic at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A SQL injection vulnerability exists in the Tourfic WordPress plugin due to insufficient escaping of the 'post_id' parameter and a lack of SQL query preparation in the tf_room_availability AJAX handler. The vulnerability is accessible to unauthenticated attackers because the wp_ajax_nopriv_tf_room_availability handler is used, and the necessary security nonce is publicly exposed on single-hotel page templates. An attacker can retrieve this nonce and submit a crafted request to append malicious SQL queries to existing database commands. This allows for the unauthorized extraction of sensitive data from the WordPress database. The issue affects all versions up to and including 2.22.7.
Affected products
- Themefic Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin up to, and including, 2.22.7
Timeline
- 2026-06-25: disclosed: Initial publication of the CVE record.
- 2026-06-25: advisory: Wordfence published the vulnerability details.
References
- https://plugins.trac.wordpress.org/browser/tourfic/tags/2.22.7/inc/Classes/Helper.php
- https://plugins.trac.wordpress.org/browser/tourfic/tags/2.22.7/inc/Classes/Hotel/Hotel.php
- https://plugins.trac.wordpress.org/browser/tourfic/tags/2.22.7/inc/Classes/Hotel/Hotel.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3584747%40tourfic&new=3584747%40tourfic&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/12c29a44-f9e4-439a-bc3f-18a3640f7924?source=cve