Skip to content
6.1 Medium

CVE-2026-94402 IBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting

Description

IBM Carbon Charts 0.4.0 through 1.27.19 is vulnerable to cross-site scripting. The MeterChart component's Title.truncateTitle() function re-inserts a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the available container width. A remote attacker could exploit this vulnerability to execute arbitrary JavaScript in the victim's browser session.

Affected products and versions

Product Affected versions Fixed in
@carbon/charts 0.4 0.4.0 → 1.27.19 No fix stated
@carbon/charts-react 0.4 0.4.0 → 1.27.19 No fix stated
@carbon/charts-angular 0.4 0.4.0 → 1.27.19 No fix stated
@carbon/charts-vue 0.4 0.4.0 → 1.27.19 No fix stated
@carbon/charts-svelte 0.4 0.4.0 → 1.27.19 No fix stated
Track this CVE