CVE-2026-94402
@carbon/charts: IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation
IBM @carbon/charts
CVSS
6.1MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.30%Chance of exploitation activity in the next 30 days, higher than 21% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 5
- @carbon/chartsaffected: 0.4.0 through 1.27.19CVE List
- @carbon/charts-reactaffected: 0.4.0 through 1.27.19CVE List
- @carbon/charts-angularaffected: 0.4.0 through 1.27.19CVE List
- @carbon/charts-vueaffected: 0.4.0 through 1.27.19CVE List
- @carbon/charts-svelteaffected: 0.4.0 through 1.27.19CVE List