Impact
IBM Carbon Charts 0.4.0 through 1.27.19 contains a cross‑site scripting flaw where the MeterChart component’s Title.truncateTitle() method inserts a slice of user‑supplied label text into the DOM using unsanitized innerHTML when a title exceeds the container width, allowing a remote attacker to embed malicious JavaScript that runs in the victim’s browser session.
Affected Systems
The flaw applies to the IBM Carbon Charts libraries for Angular, React, Svelte, and Vue (packages @carbon/charts, @carbon/charts-angular, @carbon/charts-react, @carbon/charts-svelte, @carbon/charts-vue), with all versions up to 1.27.19 (including the 0.4.0 series) vulnerable.
Risk and Exploitability
The CVSS score is 6.1, indicating medium severity; EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit it by supplying a malicious label in a chart configuration, causing the unsanitized truncation to inject and execute arbitrary JavaScript in the client’s browser context.
OpenCVE Enrichment