CVE-2026-4011: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dgwyer Power Charts – Responsive Beautiful Charts & Graphs
The Power Charts Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the [pc] shortcode in all versions up to, and including, 0.1.0. This is due to insufficient input sanitization and output escaping on the 'id' shortcode attribute. Specifically, in the pc_shortcode() function, the 'id' attribute is extracted from user-supplied shortcode attributes and directly concatenated into an HTML div element's class attribute without any escaping or sanitization at line 62. The resulting HTML is then passed through html_entity_decode() before being returned, further undermining any potential safety. 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.
AI Analysis
Technical Summary
The Power Charts Lite plugin for WordPress suffers from a stored XSS vulnerability via the 'id' attribute of the [pc] shortcode. The pc_shortcode() function extracts the 'id' parameter from user input and inserts it directly into an HTML div element's class attribute without sanitization or escaping. The HTML is then passed through html_entity_decode(), further weakening defenses against script injection. This flaw allows authenticated users with Contributor or higher privileges to inject arbitrary scripts that execute in the context of any user viewing the compromised page. The vulnerability affects all versions up to and including 0.1.0. No patch or official remediation has been published as of the data provided.
Potential Impact
An attacker with Contributor-level or higher access can exploit this vulnerability to inject malicious JavaScript into pages using the [pc] shortcode. This script executes in the browsers of users who view the infected page, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), reflecting network attack vector, low attack complexity, and privileges required. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and avoid using the vulnerable shortcode with untrusted input. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-4011: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dgwyer Power Charts – Responsive Beautiful Charts & Graphs
Description
The Power Charts Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the [pc] shortcode in all versions up to, and including, 0.1.0. This is due to insufficient input sanitization and output escaping on the 'id' shortcode attribute. Specifically, in the pc_shortcode() function, the 'id' attribute is extracted from user-supplied shortcode attributes and directly concatenated into an HTML div element's class attribute without any escaping or sanitization at line 62. The resulting HTML is then passed through html_entity_decode() before being returned, further undermining any potential safety. 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Power Charts Lite plugin for WordPress suffers from a stored XSS vulnerability via the 'id' attribute of the [pc] shortcode. The pc_shortcode() function extracts the 'id' parameter from user input and inserts it directly into an HTML div element's class attribute without sanitization or escaping. The HTML is then passed through html_entity_decode(), further weakening defenses against script injection. This flaw allows authenticated users with Contributor or higher privileges to inject arbitrary scripts that execute in the context of any user viewing the compromised page. The vulnerability affects all versions up to and including 0.1.0. No patch or official remediation has been published as of the data provided.
Potential Impact
An attacker with Contributor-level or higher access can exploit this vulnerability to inject malicious JavaScript into pages using the [pc] shortcode. This script executes in the browsers of users who view the infected page, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), reflecting network attack vector, low attack complexity, and privileges required. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and avoid using the vulnerable shortcode with untrusted input. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-11T19:05:31.880Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69df540482d89c981fbdb58e
Added to database: 4/15/2026, 9:01:56 AM
Last enriched: 4/15/2026, 9:17:13 AM
Last updated: 4/16/2026, 6:20:03 AM
Views: 39
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.