← Vulnerability feed

Vulnerability record · CVE-2023-5652 · published 20 November 2023

CVE-2023-5652: WP Hotel Booking plugin SQL injection via unauthenticated admin_init hook

Thimpress · Wp Hotel Booking

The WP Hotel Booking WordPress plugin before 2.0.8 lacks authorization and CSRF checks and fails to escape user input before using it in a SQL statement within a function hooked to admin_init. This allows unauthenticated attackers to perform SQL injection. The flaw is critical because it is remotely reachable without credentials and can compromise the database.

9.8 CVSS 3.1 Critical EPSS 64% · top 0.8% CWE-89 · SQL injection
9.8CVSS 3.1 base score
64%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

The WP Hotel Booking WordPress plugin before 2.0.8 does not have authorisation and CSRF checks, as well as does not escape user input before using it in a SQL statement of a function hooked to admin_init, allowing unauthenticated users to perform SQL injections

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS score is 9.8 (critical) with unauthenticated remote SQL injection, high EPSS, and public exploit availability, making immediate patching essential.

What it is

The WP Hotel Booking WordPress plugin before 2.0.8 lacks authorization and CSRF checks and fails to escape user input before using it in a SQL statement within a function hooked to admin_init. This allows unauthenticated attackers to perform SQL injection. The flaw is critical because it is remotely reachable without credentials and can compromise the database.

Impact

An attacker can read, modify, or delete arbitrary data in the WordPress database, potentially leading to full site compromise or data theft. With high confidentiality, integrity, and availability impact, the attacker gains broad control over the application's data.

Attack surface

The vulnerability is reached over the network via the admin_init hook, which runs on admin-area requests; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

No CISA KEV listing, but EPSS probability is 0.63711 (99.181 percentile) and references include an 'Exploit' tag, indicating public exploit code is available and exploitation is likely.

What to do

  • Update WP Hotel Booking plugin to version 2.0.8 or later immediately.
  • If patching is not possible, disable or remove the plugin until an update can be applied.
  • Deploy a web application firewall (WAF) rule to block SQL injection attempts targeting admin_init or the plugin's endpoints.
  • Restrict access to wp-admin and admin-ajax.php where feasible, though the vulnerability is unauthenticated.
  • Audit the database and logs for signs of compromise or unauthorized data access.

Detection

  • Monitor web server and WAF logs for SQL injection patterns in requests to admin_init or plugin-specific parameters.
  • Review database logs for anomalous queries or unexpected data changes.
  • Use WordPress security plugins to scan for known vulnerabilities and suspicious activity.
  • Check for unexpected administrative users or changes to site content that could indicate post-exploitation.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-5652 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-3605Thimpress wp hotel booking sql injection vulnerabilityThe 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 en…EPSS 4.2%9.8CVE-2024-30508Thimpress wp hotel booking missing authorization vulnerabilityMissing Authorization vulnerability in ThimPress WP Hotel Booking.This issue affects WP Hotel Booking: from n/a through 2.0.9.2.EPSS 0.52%9.8CVE-2020-29047Thimpress wp hotel booking deserialization of untrusted data vulnerabilityThe wp-hotel-booking plugin through 1.10.2 for WordPress allows remote attackers to execute arbitrary code because of an unserialize operation on the…EPSS 16%8.8CVE-2024-51582Thimpress wp hotel booking path traversal vulnerabilityPath Traversal: '.../...//' vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows PHP Local File Inclusion.This issue affects WP Hotel …EPSS 0.53%8.8CVE-2024-7855Thimpress wp hotel booking unrestricted file upload vulnerabilityThe WP Hotel Booking plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the update_review() function…EPSS 18%8.0CVE-2021-36852Thimpress wp hotel booking cross-site request forgery vulnerabilityCross-Site Request Forgery (CSRF) vulnerability in ThimPress WP Hotel Booking plugin <= 1.10.5 at WordPress.EPSS 0.39%5.4CVE-2023-5799Thimpress wp hotel booking incorrect authorization vulnerabilityThe WP Hotel Booking WordPress plugin before 2.0.8 does not have proper authorisation when deleting a package, allowing Contributor and above roles t…EPSS 0.52%5.4CVE-2023-5651Thimpress wp hotel booking incorrect permission assignment vulnerabilityThe WP Hotel Booking WordPress plugin before 2.0.8 does not have authorisation and CSRF checks, as well as does not ensure that the package to be del…EPSS 0.27%

Source: NIST National Vulnerability Database (record CVE-2023-5652), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.