CVE-2026-84251: WordPress click5 CRM Add-on for Ninja Forms Unauthenticated Option Update to Site Takeover
Critical missing authorization in REST API options endpoint allows unauthenticated remote attackers to modify wp_options, grant administrator privileges, and seize full control of WordPress websites.
HERMES THREAT SCORE & WEB CMS INFRASTRUCTURE EVALUATION
Target:click5 CRM Add-on for Ninja Forms โ REST API Endpoint (/wp-json/click5-crm/v1/options) CVSS v3.1 rates this vulnerability at 9.8 (CRITICAL) because it requires no privileges, no user interaction, and enables complete system compromise across confidentiality, integrity, and availability. The Hermes Threat Score (HTS) confirms 95 (CRITICAL). In WordPress architectures, arbitrary option updates in wp_options are equivalent to remote code execution: threat actors can manipulate 'users_can_register' and 'default_role' to register rogue administrator accounts, or reconfigure 'active_plugins' and file upload paths to execute arbitrary PHP webshells. Honeypots and Patchstack intelligence observe rapid automated mass scanning following disclosure.
CVE-2026-84251: WordPress click5 CRM Add-on for Ninja Forms Unauthenticated Option Update to Site TakeoverVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Microsoft Office & 365 Apps documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Technical Context & Affected Architecture Matrix
Section titled โ1. Technical Context & Affected Architecture MatrixโNinja Forms is among the most popular form-building suites in the WordPress ecosystem, with millions of downloads. The click5 CRM add-on connects form submissions to external CRM tables.
| Parameter | Technical Specification | Operational Details |
|---|---|---|
| CVE Identifier | CVE-2026-84251 | Canonical vulnerability identifier |
| Affected Software | click5-crm-for-ninja-forms | WordPress plugin add-on |
| Vulnerable Component | includes/api/class-options-controller.php | REST API settings update controller |
| Impacted Versions | <= 1.0.1 | All active deployments of version 1.0.1 and earlier |
| Fixed Release | 1.0.2 | Implemented strict capability checks and option whitelisting |
| Vulnerability Class | Missing Authorization (CWE-862, CWE-352) | Unrestricted update_option() execution via REST API |
| Target Storage | WordPress Core wp_options table | Site settings, user roles, active plugins |
| CVSS v3.1 Base Score | 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) | Unauthenticated network initial access |
2. Root Cause Analysis & Flaw Decomposition
Section titled โ2. Root Cause Analysis & Flaw DecompositionโVulnerable Code Path: Unauthenticated REST API Route Registration
Section titled โVulnerable Code Path: Unauthenticated REST API Route RegistrationโIn includes/api/class-options-controller.php, the plugin registers its REST routes during the rest_api_init hook. The route registration lacks authorization enforcement:
<?php// VULNERABLE CODE: includes/api/class-options-controller.php (< 1.0.2)add_action('rest_api_init', function () { register_rest_route('click5-crm/v1', '/options', [ 'methods' => 'POST', 'callback' => 'click5_crm_update_options_callback', // FLAW: Omitted 'permission_callback' or returned true for public access 'permission_callback' => '__return_true', ]);});
function click5_crm_update_options_callback(WP_REST_Request $request) { $params = $request->get_json_params();
if (empty($params) || !is_array($params)) { return new WP_Error('invalid_payload', 'Missing settings array', ['status' => 400]); }
// FLAW: Directly loops over supplied keys and updates core wp_options foreach ($params as $option_name => $option_value) { // No check that $option_name begins with 'click5_crm_' prefix! update_option($option_name, $option_value); }
return new WP_REST_Response(['success' => true, 'message' => 'Options updated'], 200);}Exploit Mechanism: Core Options Manipulation
Section titled โExploit Mechanism: Core Options ManipulationโBecause there is neither a permission check nor an option key prefix filter:
- An attacker sends a single HTTP POST request to
/wp-json/click5-crm/v1/optionswith JSON payload:{"users_can_register": "1","default_role": "administrator"} - The server executes
update_option('users_can_register', '1')andupdate_option('default_role', 'administrator'). - The attacker visits
/wp-login.php?action=register, registers a new account (e.g.badadmin), and is immediately assigned full administrator privileges. - Using the newly created administrator account, the attacker uses the built-in theme or plugin editor to upload a PHP backdoor (e.g.
shell.php), gaining interactive shell access underwww-data.
Corrective Implementation in Version 1.0.2
Section titled โCorrective Implementation in Version 1.0.2โ<?php// PATCHED CODE: includes/api/class-options-controller.php (>= 1.0.2)add_action('rest_api_init', function () { register_rest_route('click5-crm/v1', '/options', [ 'methods' => 'POST', 'callback' => 'click5_crm_update_options_callback', 'permission_callback' => function () { // FIX: Require administrator capability return current_user_can('manage_options'); }, ]);});
function click5_crm_update_options_callback(WP_REST_Request $request) { $params = $request->get_json_params(); $allowed_options = [ 'click5_crm_api_key', 'click5_crm_sync_interval', 'click5_crm_endpoint_url' ];
foreach ($params as $option_name => $option_value) { // FIX: Strictly enforce whitelist of plugin-specific settings if (in_array($option_name, $allowed_options, true)) { update_option($option_name, sanitize_text_field($option_value)); } }
return new WP_REST_Response(['success' => true], 200);}3. Attack Vectors & Exploitation Flow
Section titled โ3. Attack Vectors & Exploitation FlowโsequenceDiagram autonumber actor Attacker as Remote Threat Actor participant WP as WordPress REST API (/wp-json/click5-crm/v1/options) participant DB as MySQL Database (wp_options) participant Auth as Registration Endpoint (/wp-login.php) participant Host as Web Server (www-data)
Attacker->>WP: POST /wp-json/click5-crm/v1/options {"users_can_register": 1, "default_role": "administrator"} Note over WP: Missing permission_callback allows public execution WP->>DB: update_option('users_can_register', 1) WP->>DB: update_option('default_role', 'administrator') WP-->>Attacker: HTTP 200 {"success": true}
Attacker->>Auth: POST /wp-login.php?action=register (user="threat_admin", email=...) Auth->>DB: Creates user record with role='administrator' Auth-->>Attacker: Account created with full administrator rights
Attacker->>WP: Authenticates as Administrator; edits theme template or uploads zip WP->>Host: Writes backdoor webshell into /wp-content/ Attacker->>Host: GET /wp-content/uploads/shell.php (Remote Code Execution)4. Forensic Triage & Detection Engineering
Section titled โ4. Forensic Triage & Detection Engineeringโtitle: WordPress click5 CRM Arbitrary Option Update Exploitationid: c3d4e5f6-2345-6789-wp-cve202684251status: stabledescription: Detects unauthenticated POST or PUT requests to the click5-crm REST API options route attempting to modify critical WordPress options.references: - https://nvd.nist.gov/vuln/detail/CVE-2026-84251 - https://patchstack.com/database/vulnerability/click5-crm-for-ninja-forms/wordpress-click5-crm-add-on-to-ninja-forms-plugin-1-0-1-arbitrary-option-update-vulnerabilityauthor: Hermes Codex Cyber Intelligencedate: 2026-10-13logsource: category: webserver product: genericdetection: selection_endpoint: cs-method: - 'POST' - 'PUT' cs-uri-stem|contains: - '/wp-json/click5-crm/v1/options' - 'rest_route=/click5-crm/v1/options' condition: selection_endpointfalsepositives: - Authorized administrator configuration updates within wp-adminlevel: criticaltags: - attack.initial_access - attack.t1190 - attack.persistence - attack.t1136.001 - cve.2026.84251// Azure / Sentinel / IIS Web Logs// Detects unauthenticated targeting of click5 CRM options endpointW3CIISLog| where TimeGenerated >= ago(48h)| where csMethod in ("POST", "PUT")| where csUriStem has "/wp-json/click5-crm/v1/options" or csUriQuery has "click5-crm/v1/options"| where scStatus in (200, 201)| project TimeGenerated, cIP, csMethod, csUriStem, csUriQuery, scStatus, csUserAgent#!/usr/bin/env bash# Hermes Codex: WordPress Incident Response & wp_options Integrity Checkecho "[+] Checking click5 CRM add-on version..."wp plugin get click5-crm-for-ninja-forms --field=version 2>/dev/null
echo "[+] Checking current registration policy in wp_options..."REG_STATE=$(wp option get users_can_register)DEF_ROLE=$(wp option get default_role)
echo "[*] users_can_register: $REG_STATE"echo "[*] default_role: $DEF_ROLE"
if [ "$REG_STATE" = "1" ] && [ "$DEF_ROLE" = "administrator" ]; then echo "[!] CRITICAL: Rogue registration configuration detected! Potential CVE-2026-84251 compromise." echo "[!] Querying recently registered administrator accounts:" wp user list --role=administrator --fields=ID,user_login,user_email,user_registeredfi5. Remediation Strategy & Mitigation Controls
Section titled โ5. Remediation Strategy & Mitigation Controlsโ-
Update Plugin to Version 1.0.2 Immediately: Deploy the vendor patch using WP-CLI or the administrative dashboard:
Terminal window wp plugin update click5-crm-for-ninja-forms -
Audit Core Configuration in wp_options: Verify and restore secure registration settings:
Terminal window wp option set users_can_register 0wp option set default_role subscriber -
Audit Administrative Users: Inspect all users with the
administratorrole. Terminate sessions and remove unrecognized accounts created around the incident window. -
WAF Virtual Patching: Block unauthenticated requests to
/wp-json/click5-crm/v1/optionsat the reverse proxy or CDN level (Cloudflare / ModSecurity / CrowdSec AppSec).