CVE-2025-13704

Autogen Headers Menu <= 1.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'head_class' Shortcode Parameter

Published Jan 9, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:13 PM
Reserved
Nov 25, 2025, 9:45 PM
Status
Deferred
Published
Jan 9, 2026, 12:15 PM
Modified
Jun 17, 2026, 8:34 AM