Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| IBM / @carbon/charts | affected 0.4.0 through 1.27.19 |
| IBM / @carbon/charts-react | affected 0.4.0 through 1.27.19 |
| IBM / @carbon/charts-angular | affected 0.4.0 through 1.27.19 |
| IBM / @carbon/charts-vue | affected 0.4.0 through 1.27.19 |
| IBM / @carbon/charts-svelte | affected 0.4.0 through 1.27.19 |
CWE
CWE-79