CVE-2026-6498 Details
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.
A vulnerability in the Five Star Restaurant Reservations plugin for WordPress, affecting versions through 2.7.16, allows for payment bypass through PHP type juggling. The issue arises in the valid_payment() function, which uses loose comparison to evaluate the payment_id POST parameter against the booking's stripe_payment_intent_id. An unauthenticated attacker can exploit this by sending a request to the nopriv AJAX handler rtb_stripe_pmt_succeed before a Stripe payment intent has been created for a booking. This exploitation takes advantage of the fact that the stripe_payment_intent_id is null at that time. The loose comparison treats an empty payment_id as valid, allowing the attacker to falsely mark a booking as paid without completing an actual payment.
Users are advised to update the Five Star Restaurant Reservations plugin to version 2.7.17 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 30, 2026CISA-ADP
Assessed Apr 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Five Star Restaurant Reservations | <= 2.7.16 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2026 | New CVE Received | [email protected] |
Volerion