Vulnerability · Published Oct 20, 2026 · Assigned by ibm
CVE-2026-94402IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation
Medium 6.1
In plain English
A medium-severity cross-site scripting in @carbon/charts from IBM. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| IBM | @carbon/charts | 0.4.0 – through 1.27.19 |
| IBM | @carbon/charts-react | 0.4.0 – through 1.27.19 |
| IBM | @carbon/charts-angular | 0.4.0 – through 1.27.19 |
| IBM | @carbon/charts-vue | 0.4.0 – through 1.27.19 |
| IBM | @carbon/charts-svelte | 0.4.0 – through 1.27.19 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://www.ibm.com/support/pages/node/7291785 vendor-advisory, patch