Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFetch public single-hotel page
-
DeliveryScrape valid tf_room_availability nonce
-
ExploitPOST crafted post_id to admin-ajax.php
-
ExecutionInject UNION/stacked SQL query
-
ImpactExfiltrate user hashes and sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the public single-hotel page template be reachable so the attacker can harvest the valid nonce gating the tf_room_availability AJAX action, and that an affected plugin version (≤ 2.22.7) be active with the nopriv AJAX handler registered (default behavior). Given AV:N/AC:L/PR:N/UI:N there is effectively no authentication or user-interaction barrier - the nonce is not a genuine limiter because it is emitted on the public page. The only practical limiting factors are that a published/accessible hotel listing page must exist to source the nonce and the site must run a vulnerable plugin version; there is no privilege, MFA, or non-default-configuration requirement. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, base 7.5 HIGH) is internally consistent with the description: network-reachable, low-complexity, no privileges, no user interaction, and confidentiality-only impact since the injection extracts rather than modifies data. The nonce - normally a mitigating control - is neutralized because it is freely obtainable from the public hotel page, so it does not raise effective privileges. EPSS is not provided, the CVE is not in CISA KEV, and no POC is referenced, so there is no evidence of active exploitation despite the high CVSS. The principal real-world amplifier is that unauthenticated SQLi in WordPress plugins is routinely automated by mass scanners shortly after disclosure; the principal dampener is the niche footprint of this specific plugin. |
| Exploit ScenarioDerived | An unauthenticated attacker loads a public single-hotel page to scrape the valid nonce, then sends a crafted POST to admin-ajax.php with action=tf_room_availability and a malicious 'post_id' value appending a UNION or stacked subquery, causing the response to return WordPress user records, password hashes, or other sensitive table data. No public exploit code is identified at time of analysis, but the low attack complexity (AC:L) makes weaponization straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Unauthenticated SQL injection in the Tourfic WordPress travel-booking plugin (versions through 2.22.7) lets remote attackers read arbitrary database contents via the 'post_id' parameter of the tf_room_availability AJAX action. Because the action is registered for logged-out users (wp_ajax_nopriv) and the required nonce is publicly emitted on single-hotel pages, no authentication is needed in practice. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Update the Tourfic plugin to the first release after 2.22.7 that contains the fix; an upstream fix is available via the WordPress.org SVN changeset (3584747@tourfic), but the exact patched release version is not independently confirmed in the available data, so verify the fixed version against the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/12c29a44-f9e4-439a-bc3f-18a3640f7924?source=cve) before deploying. Until patched, restrict reach to the vulnerable endpoint: deploy a WAF rule blocking SQL metacharacters in the 'post_id' parameter of admin-ajax.php requests using action=tf_room_availability (trade-off: scope it to non-numeric input to avoid false-positives on legitimate numeric post IDs), or temporarily disable or restrict the single-hotel booking pages that emit the nonce (trade-off: breaks public booking functionality). Monitor admin-ajax.php logs for tf_room_availability requests carrying SQL syntax.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-89 SQL Injection defect in a WordPress plugin's room-availability lookup. The plugin builds a SQL query incorporating the user-supplied 'post_id' value without sufficient escaping and without a parameterized/prepared statement (WordPress $wpdb->prepare). Per the Wordfence trac references, the vulnerable logic resides in inc/Classes/Hotel/Hotel.php (around lines 305 and 543) and inc/Classes/Helper.php (around line 1164). The affected component (CPE cpe:2.3:a:themefic:tourfic_-_ai_powered_travel_booking,_hotel_booking_&_car_rental_wordpress_plugin) is the AJAX endpoint tf_room_availability, which an unauthenticated visitor can invoke because of the nopriv registration combined with the publicly exposed nonce.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Endpoint is network-reachable with a freely obtainable nonce, so PR:N/UI:N/AC:L; injection extracts data only, giving C:H with I:N/A:N.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
The Tourfic WordPress travel-booking plugin (versions ≤2.22.7) contains an unauthenticated SQL injection vulnerability allowing remote attackers to extract entire databases without authentication. Organizations using this plugin risk exposure of customer booking records, personal information, and potentially payment data. Immediate remediation is required as no patch is currently available from the vendor.
Disable the Tourfic plugin entirely; implement WAF rule to reject POST requests to /wp-admin/admin-ajax.php containing action=tf_room_availability; enable database query audit logging; restrict database network access to application server IP ranges only; establish alerting on suspicious database read patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-39189
GHSA-79gf-4fr3-w2q9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB