Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify pending booking
-
DeliveryObtain booking post ID
-
ExploitCraft POST request to nopriv AJAX handler
-
ExecutionSubmit empty payment_id parameter
-
PersistTrigger loose comparison validation bypass
-
ImpactMark booking as paid without Stripe charge
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Exploitation requires: (1) Five Star Restaurant Reservations plugin installed and activated on WordPress site with Stripe payment gateway enabled; (2) at least one booking in 'payment_pending' status (common state after customer initiates checkout but before Stripe payment completes); (3) Stripe payment intent not yet created for the target booking (i.e., before the JavaScript create_stripe_pmtIntnt() call executes, leaving stripe_payment_intent_id null in post meta); (4) access to wp-admin/admin-ajax.php endpoint, which is publicly accessible by default. No authentication required (PR:N confirmed in CVSS). The vulnerability does NOT apply if all bookings have valid, pre-existing stripe_payment_intent_id values; however, this condition is impossible to maintain across all bookings in real operation due to checkout abandonment and in-progress reservations. AC:L confirmed; attacker simply POSTs with empty payment_id parameter. Scope unchanged (S:U) - exploitation does not escalate privileges or compromise other users. |
| Impact | CVSS 5.3 (Medium, AV:N/AC:L/PR:N/UI:N/S:U) indicates network-accessible, low-complexity, unauthenticated exploitation with limited integrity impact. However, real-world risk is ELEVATED because: (1) the attack is practical and requires no user interaction or social engineering; (2) integrity impact understates the actual threat - unauthorized payment bypass directly enables fraud and order fulfillment without revenue collection; (3) AC:L and PR:N/UI:N confirm genuine exploitation ease; (4) the vulnerability affects all sites with this plugin version activated, a popular WordPress restaurant booking solution. The nopriv AJAX handler exposes the flaw to the public internet. EPSS data not provided, but POC exploitation is trivial (single HTTP POST with empty parameter). The limiting factor is that a payment-pending booking must pre-exist (attacker cannot create bookings unilaterally), but many restaurant sites have legitimate pending reservations. This is not a raw privilege escalation but direct payment fraud with clear financial impact. Real-world priority: HIGH for affected sites; CVSS alone undersells the business risk. |
| Exploit ScenarioDerived | An attacker identifies a restaurant website using Five Star Restaurant Reservations plugin version 2.7.16 with pending restaurant reservations visible in the database. The attacker crafts a POST request to /wp-admin/admin-ajax.php with action=rtb_stripe_pmt_succeed, payment_id= (empty string), and a valid payment post ID from a payment-pending booking. The rtb_stripe_pmt_succeed nopriv handler processes the request, calls valid_payment() which compares the empty string against the null stripe_payment_intent_id via loose comparison, succeeds, and marks the booking as paid. The restaurant fulfills the reservation unaware that no payment was collected, resulting in direct revenue loss. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 30, 2026
Five Star Restaurant Reservations plugin for WordPress versions up to 2.7.16 allows unauthenticated attackers to bypass payment verification through PHP type juggling in the valid_payment() function. The vulnerability exists in the rtb_stripe_pmt_succeed AJAX handler, which uses loose comparison (==) between attacker-supplied payment_id and the booking's stripe_payment_intent_id. When the intent ID is null (before Stripe intent creation), an empty payment_id parameter passes validation, enabling attackers to mark payment-pending bookings as paid without completing actual Stripe payments. This permits unauthorized order fulfillment and revenue loss for affected WordPress sites.
RemediationAI
Update Five Star Restaurant Reservations plugin to version 2.7.17 or later, which implements strict comparison (===) or null checks in the valid_payment() function per changeset 3518833 in the plugin SVN repository. Patch is confirmed available; WordPress administrators should apply via the WordPress admin dashboard Plugins > Updates interface. As immediate compensating control, if patching is delayed: disable the Stripe payment gateway feature in plugin settings until patched; or restrict access to wp-admin/admin-ajax.php from public IPs using firewall/WAF rules (trade-off: may impact legitimate booking workflows if JavaScript payment initiation is affected); or monitor post meta for bookings with null stripe_payment_intent_id values that transition to 'paid' status without corresponding Stripe webhook events (detection-only, does not prevent). None of these workarounds are as effective as patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Five Star Restaurant Reservations plugin integrates Stripe payments into WordPress restaurant booking workflows via the PaymentGatewayStripe class. The vulnerability stems from PHP loose comparison semantics where sanitize_text_field('') null evaluates to TRUE. The valid_payment() function is called by the rtb_stripe_pmt_succeed nopriv AJAX action, which is accessible to unauthenticated users via wp-admin/admin-ajax.php. The root cause is CWE-345 (Insufficient Verification of Data Authenticity), compounded by reliance on POST-controlled payment_id without cryptographic verification. The vulnerability exists in the payment intent verification flow before the JavaScript-triggered create_stripe_pmtIntnt() function completes server-side, leaving stripe_payment_intent_id as null in post meta. The affected code uses loose comparison instead of strict comparison (=) or null-coalescing checks.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-26361
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB