Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin: SQL injection
Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin is affected by SQL injection. The vulnerable path is reachable without authentication. A successful request can alter database queries and expose or modify WordPress data. The published affected range is <= 2.22.7.
- Component
- Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin
- Plugin slug
tourfic- Affected
- <= 2.22.7
- Safe version
> 2.22.7- Published
- Jun 25, 2026
This CVE was published Jun 25, 2026 and is one of 13 known issues for this plugin.
Update, patch or deactivate.
Update Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin to a release after 2.22.7, or disable and remove it until a fixed version is available.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N