Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/restaurant-reservations/tags/2.7.13/i
- https://plugins.trac.wordpress.org/browser/restaurant-reservations/tags/2.7.13/i
- https://plugins.trac.wordpress.org/browser/restaurant-reservations/trunk/include
- https://plugins.trac.wordpress.org/browser/restaurant-reservations/trunk/include
- https://plugins.trac.wordpress.org/changeset/3518833/restaurant-reservations/tru
- https://plugins.trac.wordpress.org/changeset?old_path=%2Frestaurant-reservations
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8ee08aac-7bcc-4809-a5a
FAQ
What is CVE-2026-6498?
CVE-2026-6498 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2026-6498?
CVE-2026-6498 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6498?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.