Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 89%

CVE-2026-6498: CWE-345 Insufficient Verification of Data Authenticity in rustaurius Five Star Restaurant Reservations – WordPress Booking Plugin

0
Medium
VulnerabilityCVE-2026-6498cvecve-2026-6498cwe-345
Published: Thu Apr 30 2026 (04/30/2026, 09:29:13 UTC)
Source: CVE Database V5
Vendor/Project: rustaurius
Product: Five Star Restaurant Reservations – WordPress Booking Plugin

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 v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/30/2026, 12:36:21 UTC

Technical Analysis

CVE-2026-6498 is a vulnerability in the Five Star Restaurant Reservations WordPress plugin caused by insufficient verification of data authenticity (CWE-345). The valid_payment() function uses a PHP loose equality check (==) between the payment_id POST parameter and the booking object's stripe_payment_intent_id. If the stripe_payment_intent_id is null (before Stripe payment intent creation), submitting an empty payment_id results in the comparison evaluating to true, enabling an unauthenticated attacker to bypass payment and mark bookings as paid without completing a Stripe payment. This affects versions up to and including 2.7.16.

Potential Impact

The vulnerability allows unauthenticated attackers to bypass payment verification and mark any existing payment_pending booking as paid without making an actual Stripe payment. This can lead to unauthorized free bookings and potential financial loss for the merchant. There is no confidentiality or availability impact indicated.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or patch is currently available. Users should monitor the vendor's advisory for updates. Until a patch is released, consider implementing additional server-side validation to ensure payment intent IDs are properly verified and avoid relying on PHP loose comparisons for critical payment verification logic.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-04-17T09:18:40.690Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f3499ecbff5d8610da76fb

Added to database: 4/30/2026, 12:22:54 PM

Last enriched: 4/30/2026, 12:36:21 PM

Last updated: 6/13/2026, 6:28:36 PM

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses