CVE-2026-4011 MEDIUM

CVE-2026-4011: Power Charts <= 0.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id' Shortcode Attribute

Vendor Dgwyer
Product Power Charts – Responsive Beautiful Charts & Graphs
Weakness CWE-79 · XSS
Published April 15, 2026
Last update April 15, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Power Charts contains a cross-site scripting (XSS) vulnerability in versions up to 0.1.0. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers, potentially stealing session data or performing actions on their behalf. The vulnerability affects the entire application scope due to how the flaw is processed.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers and steal their session data or perform actions as them.

Potential impact on your site

04Site Impact

Authenticated users can compromise other users' accounts or sessions without their knowledge or consent.

Conditions required to exploit

05Prerequisites

Attacker must be logged in with a low-privilege account; no user interaction required from the victim.

Key dates

06Disclosure timeline

April 15, 2026 CVE published
April 15, 2026 Record updated