WordPress Plugin Vulnerabilities

Tourfic < 2.22.8 - Unauthenticated SQL Injection via 'post_id' Parameter

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.

Affects Plugins

Fixed in 2.22.8

References

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
PRISM
Verified
No

Timeline

Publicly Published
2026-06-24 (about 1 month ago)
Added
2026-06-24 (about 1 month ago)
Last Updated
2026-06-25 (about 1 month ago)

Other