Hotel Booking Lite <= 5.2.3 - Authenticated (Hotel Worker+) Remote Code Execution
Strategic Overview
- Status
- Patched in 5.2.4
- Affected Plugin
- MotoPress Hotel Booking
- Affected Version
<= 5.2.3- CVSS
- 5.3Medium
- Weakness type
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CVE
CVE-2025-66078
At a glance
CVE-2025-66078 is a medium-severity Improper Control of Generation of Code ('Code Injection') vulnerability in the MotoPress Hotel Booking WordPress plugin, affecting versions <= 5.2.3. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 5.2.4; sites on affected versions should update now. Disclosed November 2025, reported by benzdeus.
Vulnerability Overview
The MotoPress Hotel Booking plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 5.2.3. This makes it possible for authenticated attackers, with Hotel Worker-level access and above, to execute code on the server.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-94: Improper Control of Generation of Code ('Code Injection')
Reaching this weakness in MotoPress Hotel Booking <= 5.2.3 takes an account at Hotel Worker level or above. Code injection means input from a request reaches a language construct that evaluates code, so the attacker's text is executed rather than treated as data.
The injected code runs with the web server's privileges, giving the attacker the same access to the database and filesystem as WordPress itself. For MotoPress Hotel Booking the fix is 5.2.4: builds <= 5.2.3 are affected, anything from 5.2.4 onward is not.
Remediation
Update to version 5.2.4, or a newer patched version
How does WordSec protect against this?
An attacker needs Hotel Worker access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: MotoPress Hotel Booking 5.2.4 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Alerts
External References
Related records
Other vulnerabilities in MotoPress Hotel Booking
- 9.8CVE-2024-4413: Hotel Booking Lite <= 4.11.1 PHP Object Injection
CVE-2024-4413 - 9.8CVE-2023-5991: Hotel Booking Lite Insufficient Path Validation
CVE-2023-5991 - 5.3CVE-2026-8684: MotoPress Hotel Booking Unauthenticated Arbitrary
CVE-2026-8684 - 4.3CVE-2026-15238: Hotel Booking Lite IDOR
CVE-2026-15238 - 4.3CVE-2026-15235: MotoPress Hotel Booking < 6.0.4 Information Exposure
CVE-2026-15235 - 4.3CVE-2026-57347: MotoPress Hotel Booking <= 6.0.3 Information Exposure
CVE-2026-57347 - 4.3CVE-2023-28498: Hotel Booking Lite <= 4.6.0 CSRF to Settings Update
CVE-2023-28498
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C