Five Star Restaurant Reservations <= 2.7.16 - Unauthenticated Payment Bypass via PHP Type Juggling in 'payment_id' Parameter
Strategic Overview
- Status
- Patched in 2.7.17
- Affected Plugin
- Five Star Restaurant Reservations – WordPress Booking Plugin
- Affected Version
<= 2.7.16- CVSS
- 5.3Medium
- Weakness type
- CWE-345 · Insufficient Verification of Data Authenticity
- CVE
CVE-2026-6498
At a glance
CVE-2026-6498 is a medium-severity Insufficient Verification of Data Authenticity vulnerability in the Five Star Restaurant Reservations WordPress plugin, affecting versions <= 2.7.16. 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 2.7.17; sites on affected versions should update now. Disclosed April 2026, reported by davidfdzmorilla.
Vulnerability Overview
The Five Star Restaurant Reservations plugin for WordPress is vulnerable to a payment bypass via PHP type juggling in versions up to, and including, 2.7.16 This is due to the valid_payment() function using a PHP loose comparison (==) between the attacker-controlled payment_id POST parameter and the booking's stripe_payment_intent_id property. When an unauthenticated attacker submits a request to the nopriv AJAX handler rtb_stripe_pmt_succeed before the Stripe payment intent has been created for a booking (i.e., before the JavaScript-triggered create_stripe_pmtIntnt() call has stored an intent ID in post meta), the stripe_payment_intent_id property on the booking object remains null. The comparison sanitize_text_field('') == null evaluates to TRUE in PHP loose comparison, causing the payment verification check to pass with zero actual payment. This makes it possible for unauthenticated attackers to mark any existing payment_pending booking as paid without completing a Stripe payment by submitting an empty payment_id parameter.
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-345: Insufficient Verification of Data Authenticity
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
Remediation
Update to version 2.7.17, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: Five Star Restaurant Reservations 2.7.17 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in Five Star Restaurant Reservations – WordPress Booking Plugin
- 7.2CVE-2022-0421: Five Star Restaurant Reservations <= 2.4.11 Stored XSS
CVE-2022-0421 - 6.4CVE-2021-24965: Five Star Restaurant… Subscriber+ Stored XSS
CVE-2021-24965 - 6.1CVE-2025-11496: Five Star Restaurant Reservations Stored XSS
CVE-2025-11496 - 6.1CVE-2023-34017: Five Star Restaurant Reservations Reflected XSS
CVE-2023-34017 - 5.3CVE-2026-54830: Five Star Restaurant… Missing Authorization
CVE-2026-54830 - 5.3CVE-2026-42670: Five Star Restaurant… Missing Authorization
CVE-2026-42670 - 5.3CVE-2026-25327: Five Star Restaurant… Missing Authorization
CVE-2026-25327 - 5.3CVE-2025-68044: Five Star Restaurant Reservations <= 2.7.4 IDOR
CVE-2025-68044
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C