CVE-2026-94402
CVE-2026-94402 · IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.1 · Medium · EPSS 0.3%
- Published
- Updated
Affected products and versions
@carbon/charts
- Versions
- ≥ 0.4.0, ≤ 1.27.19: Affected (semver)
No fix published
@carbon/charts-react
- Versions
- ≥ 0.4.0, ≤ 1.27.19: Affected (semver)
No fix published
@carbon/charts-angular
- Versions
- ≥ 0.4.0, ≤ 1.27.19: Affected (semver)
No fix published
@carbon/charts-vue
- Versions
- ≥ 0.4.0, ≤ 1.27.19: Affected (semver)
No fix published
@carbon/charts-svelte
- Versions
- ≥ 0.4.0, ≤ 1.27.19: Affected (semver)
No fix published