WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection

10.0
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-3605
CVSS 10.0 (Critical)
Publicly Published June 19, 2024
Last Updated July 11, 2024
Researcher Krzysztof Zając - CERT PL

Description

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP Hotel Booking

Software Type Plugin
Software Slug wp-hotel-booking (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.1.1, or a newer patched version
Affected Version
  • <= 2.1.0
Patched Version
  • 2.1.1

Recent vulnerabilities in WP Hotel Booking

# Title CVE ID CVSS Researchers Date
1 WP Hotel Booking <= 2.3.2 - Reflected Cross-Site Scripting via 'check_in_date' Parameter CVE-2026-15094 6.1 PRISM July 16, 2026
2 WP Hotel Booking <= 2.3.1 - Unauthenticated Insufficient Verification of Data Authenticity to Payment Bypass via PayPal IPN Handler CVE-2026-11901 5.3 valent1 July 10, 2026
3 WP Hotel Booking <= 2.3.1 - Reflected Cross-Site Scripting via 'check_in_date' and 'check_out_date' Parameters CVE-2026-11392 6.1 1M4 July 9, 2026
4 WP Hotel Booking < 2.3.1 - Missing Authorization CVE-2026-9822 4.3 Sanjorn Keeratirungsan June 19, 2026
5 WP Hotel Booking <= 2.2.7 - Unauthenticated Sensitive Information Exposure via 'email' Parameter CVE-2025-14075 5.3 Itthidej Aramsri (Boeing777) January 16, 2026
6 Hotel Booking <= 2.2.7 - Unauthenticated Information Exposure CVE-2025-63013 5.3 daroo November 5, 2025
7 Hotel Booking <= 2.2.8 - Cross-Site Request Forgery CVE-2025-63012 4.3 daroo November 5, 2025
8 Hotel Booking <= 2.2.8 - Authenticated (Editor+) Stored Cross-Site Scripting CVE-2025-63011 4.4 daroo November 5, 2025
9 WP Hotel Booking <= 2.2.1 - Improper Input Validation to Authenticated (Subscriber+) Rating Manipulation CVE-2025-8942 4.3 Muhammed Çelik August 28, 2025
10 WP Hotel Booking <= 2.1.9 - Cross-Site Request Forgery CVE-2025-47448 4.3 lucky_buddy May 7, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation