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.
Severity (CVSS)
| Base score | 6.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| IBM | @carbon/charts | 0.4.0 to <=1.27.19 [affected] |
| IBM | @carbon/charts-react | 0.4.0 to <=1.27.19 [affected] |
| IBM | @carbon/charts-angular | 0.4.0 to <=1.27.19 [affected] |
| IBM | @carbon/charts-vue | 0.4.0 to <=1.27.19 [affected] |
| IBM | @carbon/charts-svelte | 0.4.0 to <=1.27.19 [affected] |
References
- https://www.ibm.com/support/pages/node/7291785 (vendor-advisory patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 21 Oct 2026 07:04 UTC.