CVE-2026-85118: AI Content Generator Marketing Plugin Unauthenticated Arbitrary Option Modification to Site Takeover
Critical unauthenticated authorization bypass flaw in AI Content Generator Marketing plugin allowing arbitrary modification of core WordPress options and instant administrator account registration.
HERMES THREAT SCORE & AGENTIC WEB CMS EVALUATION
Target:AI Content Generator Marketing Plugin โ admin-ajax.php Unauthenticated Options Dispatcher Both CVSS v3.1 (9.8 Critical) and Hermes Threat Score (94 CRITICAL) converge on catastrophic risk, while Hermes Agentic Security Score (HASS) rates the vulnerability at 88 (HIGH). In agentic CMS architectures, AI plugins designed to automate content creation and SEO generation frequently implement backend AJAX endpoints to manage model configurations and prompt parameters. When developers inadvertently expose these management handlers via wp_ajax_nopriv without nonce tokens or current_user_can() authorization, unauthenticated remote attackers can overwrite core database settings, force open user registration with Administrator privileges, and hijack both website content and downstream AI pipelines.
CVE-2026-85118: AI Content Generator Marketing Plugin Unauthenticated Arbitrary Option Modification to Site TakeoverVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in AI Content Generator Marketing WordPress Plugin 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 Environment
Section titled โ1. Technical Context & Affected EnvironmentโWordPress plugins integrating generative AI models (OpenAI, Anthropic Claude, open-source LLMs) for automated copywriting, meta descriptions, and marketing campaigns have surged in enterprise adoption. However, third-party integrations frequently bypass core WordPress security idioms.
| Parameter | Specification | Operational Detail |
|---|---|---|
| CVE Identifier | CVE-2026-85118 | Canonical tracking identifier |
| Vulnerable Plugin | AI Content Generator Marketing | WordPress AI copywriter and SEO generation plugin |
| Affected Versions | <= 1.0.0 | All production builds through version 1.0.0 |
| Patched Version | 1.0.1 | Security update with capability and nonce enforcement |
| Vulnerable Component | includes/ajax-handler.php | Unauthenticated AJAX action dispatcher |
| Vulnerability Type | Missing Authorization (CWE-862) / Missing Authentication (CWE-306) | Direct parameter mapping to update_option() |
| Exploitation Impact | Full System Compromise & Account Takeover | Modification of users_can_register and default_role |
2. Root Cause Analysis & Vulnerable Code Decomposition
Section titled โ2. Root Cause Analysis & Vulnerable Code DecompositionโVulnerable Hook Registration
Section titled โVulnerable Hook RegistrationโIn WordPress plugin architecture, administrative AJAX actions must only be registered via wp_ajax_{action}. When a developer also registers the action under wp_ajax_nopriv_{action}, unauthenticated visitors can trigger the callback function:
// Vulnerable hook registration in ai-content-generator-marketing.phpadd_action('wp_ajax_aicg_save_setting', 'aicg_save_setting_callback');add_action('wp_ajax_nopriv_aicg_save_setting', 'aicg_save_setting_callback'); // FLAW: Exposed to unauthenticated visitorsUnprotected Options Handler
Section titled โUnprotected Options HandlerโWithin includes/ajax-handler.php, the callback function extracts option_name and option_value directly from the raw $_POST array without verifying whether the caller holds administrative permissions or validating a cryptographic nonce:
// Decompiled vulnerable callback in includes/ajax-handler.phpfunction aicg_save_setting_callback() { // FLAW 1: No nonce check (e.g., check_ajax_referer('aicg_nonce', 'security')) // FLAW 2: No capability verification (e.g., if (!current_user_can('manage_options')) wp_die();)
if (isset($_POST['setting_name']) && isset($_POST['setting_value'])) { $option_name = sanitize_text_field($_POST['setting_name']); $option_value = sanitize_text_field($_POST['setting_value']);
// FLAW 3: No whitelist of allowed plugin options; updates ANY WordPress option! update_option($option_name, $option_value);
wp_send_json_success(array('message' => 'Setting updated successfully')); } wp_send_json_error(array('message' => 'Invalid parameters'));}Because there is no whitelist restricting updates to plugin-prefixed keys (e.g. aicg_api_key), the function accepts arbitrary core WordPress options.
[Unauthenticated Attacker] โ โ POST /wp-admin/admin-ajax.php โ action=aicg_save_setting&setting_name=users_can_register&setting_value=1 โผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ admin-ajax.php (WordPress AJAX Gateway) โโ โโ Invokes hook: wp_ajax_nopriv_aicg_save_setting โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ aicg_save_setting_callback() โโ โโ No check_ajax_referer() -> PASS โโ โโ No current_user_can() -> PASS โโ โโ update_option('users_can_register', '1') โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ Next POST: setting_name=default_role&setting_value=administrator โผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ wp_options Updated in Database โโ โโ users_can_register = 1 โโ โโ default_role = administrator โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โผ[Attacker visits /wp-login.php?action=register -> Instant Administrator Account]3. Attack Chain & Step-by-Step Exploitation
Section titled โ3. Attack Chain & Step-by-Step Exploitationโ-
Reconnaissance & Endpoint Verification: The attacker checks for the presence of the plugin by querying
/wp-content/plugins/ai-content-generator-marketing/readme.txtor examining source HTML tags for plugin script handles. -
Enabling Open Registration: The adversary issues an HTTP POST request to
/wp-admin/admin-ajax.phpsettingsetting_name=users_can_registerandsetting_value=1. -
Elevating the Default Registration Role: The adversary issues a second HTTP POST request setting
setting_name=default_roleandsetting_value=administrator. -
Account Creation & Site Takeover: The attacker navigates to
/wp-login.php?action=registerand registers an account (e.g.,rogue_admin). WordPress creates the user with theadministratorrole. The attacker logs in, gains full access to theme files, plugins, and the WordPress REST API, and uploads a web shell or exfiltrates user and customer databases.
4. Forensic Detection & Incident Response Suite
Section titled โ4. Forensic Detection & Incident Response Suiteโtitle: AI Content Generator Marketing Unauthenticated Option Overwriteid: 7f3b1c9a-4d2e-4b8a-9a1c-3456789abcdestatus: experimentaldescription: Detects HTTP POST requests targeting admin-ajax.php with the aicg_save_setting action attempting arbitrary option modification.references: - https://nvd.nist.gov/vuln/detail/CVE-2026-85118 - https://www.tenable.com/cve/CVE-2026-85118author: Hermes Codex Threat Intelligencedate: 2026-10-14tags: - attack.persistence - attack.t1078.003 - cve.2026_85118logsource: category: webserverdetection: selection: cs-method: 'POST' cs-uri-stem|endswith: '/wp-admin/admin-ajax.php' keywords: - 'action=aicg_save_setting' - 'users_can_register' - 'default_role' condition: selection and keywordsfalsepositives: - Legitimate administrator configuration changes, but those would carry valid administrator session cookies.level: critical// KQL Query: Detect unauthorized option modification attempts against WordPress admin-ajax.phpW3CIISLog| where csMethod =~ "POST" and csUriStem has "admin-ajax.php"| where csUriQuery has "aicg_save_setting" or csUriQuery has_any ("users_can_register", "default_role")| project TimeGenerated, cIP, sIP, csMethod, csUriStem, csUriQuery, scStatus, csUserAgent| summarize AttemptCount=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by cIP, csUriQuery| order by AttemptCount desc#!/usr/bin/env bash# Forensic Audit Script for WordPress Database Options
echo "=== [1] Checking Current Registration Settings ==="wp option get users_can_registerwp option get default_role
echo "=== [2] Auditing Recently Registered Administrator Users ==="wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
echo "=== [3] Searching MySQL Options Table for Anomalous Changes ==="mysql -u root -p -e "SELECT option_name, option_value FROM wp_options WHERE option_name IN ('users_can_register', 'default_role', 'active_plugins');"5. Remediation Strategy & Cleanup Playbook
Section titled โ5. Remediation Strategy & Cleanup Playbookโ-
Update or Remove the Plugin: Immediately update AI Content Generator Marketing to version 1.0.1 or higher. If no update is available in your repository, immediately deactivate and delete the plugin:
Terminal window wp plugin deactivate ai-content-generator-marketing --uninstall -
Restore Core WordPress Options: Reset database options to their secure defaults using WP-CLI or phpMyAdmin:
Terminal window wp option update users_can_register 0wp option update default_role subscriber -
Audit User Accounts for Rogue Administrators: Inspect all accounts with the
administratorrole. Remove any unrecognized users created around the incident timeframe:Terminal window wp user delete <unauthorized-user-id> --reassign=1 -
Revoke and Rotate API Keys: If the plugin held API keys for external LLMs (such as OpenAI or Anthropic API keys stored in
wp_options), immediately revoke and reissue those keys from provider consoles to prevent unauthorized quota abuse.