Cross-site scripting in IBM Carbon Charts title truncation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
IBM Carbon Charts from 0.4.0 through 1.27.19 is affected, including the @carbon/charts, @carbon/charts-react, @carbon/charts-angular, @carbon/charts-vue and @carbon/charts-svelte packages. The MeterChart Title.truncateTitle() function writes a substring of user-supplied label text into the page with innerHTML without sanitizing it when the title exceeds the container width, which is a cross-site scripting flaw (CWE-79). A remote attacker who can get a victim to view the chart can run arbitrary JavaScript in the victim's browser session, and user interaction is required.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| IBM | @carbon/charts | 0.4.0 – 1.27.19 | — | No fix listed | CNA |
| IBM | @carbon/charts-react | 0.4.0 – 1.27.19 | — | No fix listed | CNA |
| IBM | @carbon/charts-angular | 0.4.0 – 1.27.19 | — | No fix listed | CNA |
| IBM | @carbon/charts-vue | 0.4.0 – 1.27.19 | — | No fix listed | CNA |
| IBM | @carbon/charts-svelte | 0.4.0 – 1.27.19 | — | No fix listed | CNA |
- @carbon/charts VendorIBM Affected 0.4.0 – 1.27.19 Fixed in — No fix listed CNA
- @carbon/charts-react VendorIBM Affected 0.4.0 – 1.27.19 Fixed in — No fix listed CNA
- @carbon/charts-angular VendorIBM Affected 0.4.0 – 1.27.19 Fixed in — No fix listed CNA
- @carbon/charts-vue VendorIBM Affected 0.4.0 – 1.27.19 Fixed in — No fix listed CNA
- @carbon/charts-svelte VendorIBM Affected 0.4.0 – 1.27.19 Fixed in — No fix listed CNA
CPE names CNA · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:* | 0.4.0 | — | IBM |
| cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:* | 1.27.19 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:* | 0.4.0 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:* | 1.27.19 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:* | 0.4.0 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:* | 1.27.19 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_vue:0.4.0:*:*:*:*:*:*:* | 0.4.0 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_vue:1.27.19:*:*:*:*:*:*:* | 1.27.19 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_svelte:0.4.0:*:*:*:*:*:*:* | 0.4.0 | — | IBM |
| cpe:2.3:a:ibm:carboncharts_svelte:1.27.19:*:*:*:*:*:*:* | 1.27.19 | — | IBM |
- cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:* Versions 0.4.0 — ·IBM
- cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:* Versions 1.27.19 — ·IBM
- cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:* Versions 0.4.0 — ·IBM
- cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:* Versions 1.27.19 — ·IBM
- cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:* Versions 0.4.0 — ·IBM
- cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:* Versions 1.27.19 — ·IBM
- cpe:2.3:a:ibm:carboncharts_vue:0.4.0:*:*:*:*:*:*:* Versions 0.4.0 — ·IBM
- cpe:2.3:a:ibm:carboncharts_vue:1.27.19:*:*:*:*:*:*:* Versions 1.27.19 — ·IBM
- cpe:2.3:a:ibm:carboncharts_svelte:0.4.0:*:*:*:*:*:*:* Versions 0.4.0 — ·IBM
- cpe:2.3:a:ibm:carboncharts_svelte:1.27.19:*:*:*:*:*:*:* Versions 1.27.19 — ·IBM
Remediation
The sources list no fixed version for @carbon/charts, @carbon/charts-react, @carbon/charts-angular, @carbon/charts-vue or @carbon/charts-svelte.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-21 Threatist record created from CVE-2026-94402
- 2026-10-21 Alias added: GHSA-xgrw-h689-334j
- 2026-10-22 Priority changed: MEDIUM → LOW
- 2026-10-26 CISA SSVC decision points changed
References
More IBM vulnerabilities
- TI-2026-08085 Unauthenticated Remote Code Execution via Auto-Login Bypass and Code Validation KEVCVSS 3.1CRITICAL 9.8
- TI-2022-23774 IBM Aspera Faspex code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2020-03794 Improper authentication in IBM Data Risk Manager KEVCVSS 3.1CRITICAL 9.8
- TI-2019-03441 Code injection in IBM Planning Analytics KEVCVSS 3.1CRITICAL 9.8
- TI-2017-03639 Improper handling of exceptional conditions in Apache Struts KEVCVSS 3.1CRITICAL 9.8
- TI-2015-06198 Serialized-object interfaces in certain IBM analytics, business solutions, cognitive, IT… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-94402 · CVE Program
- CVE-2026-94402 · NVD
- FIRST EPSS
- GHSA-xgrw-h689-334j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences