CVE-2026-6498 Business logic in Five Star Restaurant Reservations – WordPress Booking Plugin
Unauthenticated attackers can bypass payment verification for restaurant bookings by exploiting PHP type juggling in the payment_id parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-6498?
CVE-2026-6498 is a medium-severity vulnerability in rustaurius Five Star Restaurant Reservations – WordPress Booking Plugin, published on 30 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-345
Which versions are affected by CVE-2026-6498?
How do I fix CVE-2026-6498?
No fix has been published for CVE-2026-6498 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-6498 being exploited?
There is no known exploitation of CVE-2026-6498 in the wild and no public exploit code.
Sources
Also known as GHSA-75mc-5wvp-r4qm.