Description
The Autogen Headers Menu plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'head_class' parameter of the 'autogen_menu' shortcode in all versions up to, and including, 1.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-01-09
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via non‑sanitized shortcode parameter that allows exfiltration of user data or session hijacking
Action: Patch Immediately
AI Analysis

Impact

The Autogen Headers Menu plugin can store malicious scripts in the database through the head_class attribute of its autogen_menu shortcode. When a user visits a page containing that shortcode, the injected script runs in the user’s browser, potentially enabling cookie theft, session hijacking, and other client‑side compromise. The flaw is a classic stored XSS (CWE‑79) with no server‑side validation or escaping.

Affected Systems

WordPress sites running any version of the Autogen Headers Menu plugin up to and including 1.0.1 are affected. The plugin is released under the vendor amirshk and the vulnerability exists in all code revisions before 1.0.2, if available.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity, and the EPSS score of less than 1% suggests a low likelihood of widespread exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires authenticated access with at least Contributor privileges, after which an attacker can inject arbitrary JavaScript via the head_class parameter and have it persist for all visitors to the affected page. This makes the attack vector authenticated but not highly privileged, and only possible on pages that already use the compromised shortcode.

Generated by OpenCVE AI on April 21, 2026 at 00:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Autogen Headers Menu plugin to a version newer than 1.0.1 that implements proper input validation and output escaping for the head_class parameter.
  • If an upgrade is not immediately possible, remove or disable the autogen_menu shortcode from all pages or restrict its usage to trusted administrators only.
  • Implement a review process to audit pages for the presence of the vulnerable shortcode and ensure no malicious code has been injected.

Generated by OpenCVE AI on April 21, 2026 at 00:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Jan 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 09 Jan 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Amirshk
Amirshk autogen Headers Menu
Wordpress
Wordpress wordpress
Vendors & Products Amirshk
Amirshk autogen Headers Menu
Wordpress
Wordpress wordpress

Fri, 09 Jan 2026 11:30:00 +0000

Type Values Removed Values Added
Description The Autogen Headers Menu plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'head_class' parameter of the 'autogen_menu' shortcode in all versions up to, and including, 1.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Autogen Headers Menu <= 1.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'head_class' Shortcode Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Amirshk Autogen Headers Menu
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:13:27.278Z

Reserved: 2025-11-25T21:45:09.181Z

Link: CVE-2025-13704

cve-icon Vulnrichment

Updated: 2026-01-09T17:52:09.528Z

cve-icon NVD

Status : Deferred

Published: 2026-01-09T12:15:51.583

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-13704

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T00:30:22Z

Weaknesses