CVE-2026-12937
Received Received - Intake
SQL Injection in Tourfic WordPress Plugin

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: Wordfence

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
tourfic ai_powered_travel_booking_hotel_booking_car_rental_wordpress_plugin to 2.22.7 (inc)
themeisle tourfic to 2.22.7 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin is vulnerable to a generic SQL Injection via the 'post_id' parameter in all versions up to and including 2.22.7.

This vulnerability occurs because the plugin does not properly escape the user-supplied 'post_id' parameter and does not sufficiently prepare the existing SQL query.

As a result, unauthenticated attackers can append additional SQL queries to the existing ones, potentially extracting sensitive information from the database.

The AJAX handler for this functionality is accessible to unauthenticated users, and a valid nonce can be obtained from the public single-hotel page, allowing attackers to reach the vulnerable code.

Impact Analysis

This vulnerability can allow unauthenticated attackers to extract sensitive information from the website's database by injecting malicious SQL queries.

Since the attacker does not need any privileges or user interaction, the risk is high.

The CVSS base score of 7.5 indicates a high severity impact on confidentiality, meaning sensitive data could be exposed.

However, the vulnerability does not impact integrity or availability directly.

Compliance Impact

The vulnerability allows unauthenticated attackers to perform SQL Injection attacks that can extract sensitive information from the database.

Such unauthorized access to sensitive data can lead to violations of data protection regulations like GDPR and HIPAA, which require the protection of personal and sensitive information.

Therefore, exploitation of this vulnerability could result in non-compliance with these common standards and regulations due to potential data breaches.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12937. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart