CVE-2024-3605
WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection
CRITICAL 9.8EPSS 4.2%
The WP Hotel Booking plugin for WordPress is vulnerable to SQL Injection via the 'room_type' parameter of the /wphb/v1/rooms/search-rooms REST API endpoint in all versions up to, and including, 2.1.0 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.
- Affected
- thimpress · WP Hotel Booking
- CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 WORDFENCE
- 10.0 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - EPSS
- 4.15% chance of exploitation in the next 30 days, 91st percentile
- Nuclei
- critical
- Published
- 2024-06-20
- Updated
- 2026-04-08
Proof-of-concept exploits (1)
- RandomRobbieBF/CVE-2024-36050★ · 2025-01-12
Nuclei templates (1)
Security advisories
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5931ad4e-7de3-41ac-b783-f7e58aa…
- https://wordpress.org/plugins/wp-hotel-booking