CVE-2026-6498 MEDIUM

CVE-2026-6498: Five Star Restaurant Reservations <= 2.7.16 - Unauthenticated Payment Bypass via PHP Type Juggling in 'payment_id' Parameter

Vendor Rustaurius
Product Five Star Restaurant Reservations – WordPress Booking Plugin
Weakness CWE-345
Published April 30, 2026
Last update April 30, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

The Five Star Restaurant Reservations plugin for WordPress contains an integrity vulnerability affecting versions up to 2.7.16. An attacker on the network can modify data without authentication or user interaction. The vulnerability does not expose sensitive information or disrupt availability, but allows unauthorized changes to reservation or plugin data.

What an attacker can do

03Attacker Capabilities

Modify reservation data or plugin settings without logging in.

Potential impact on your site

04Site Impact

Reservation records or plugin configuration could be altered by unauthorized parties, potentially disrupting bookings.

Conditions required to exploit

05Prerequisites

Network access to the WordPress site; no authentication required.

Key dates

06Disclosure timeline

April 30, 2026 CVE published
April 30, 2026 Record updated

Related vulnerabilities

08Related CVE