Vulnerability in Rustaurius Five Star Restaurant Reservations – WordPress Booking Plugin
CVE-2026-6498
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (13.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 13.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.001
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/8ee08aac-7bcc-4809-a5aa-7b95e…
- plugins.trac.wordpress.org/browser/restaurant-reservations/trunk/includes/Payme…
- plugins.trac.wordpress.org/browser/restaurant-reservations/tags/2.7.13/includes…
- plugins.trac.wordpress.org/browser/restaurant-reservations/trunk/includes/Payme…
- plugins.trac.wordpress.org/browser/restaurant-reservations/tags/2.7.13/includes…
- plugins.trac.wordpress.org/changeset/3518833/restaurant-reservations/trunk/incl…
- plugins.trac.wordpress.org/changeset
Frequently asked questions
- What is CVE-2026-6498?
- CVE-2026-6498 is a medium-severity vulnerability in Rustaurius Five Star Restaurant Reservations – WordPress Booking Plugin, classified under Insufficient Verification of Data Authenticity. CVSS score: 5.3/10. Published 2026-04-30.
- How severe is CVE-2026-6498?
- Medium severity. CVSS v3 base score is 5.3 out of 10.