CVE-2026-94402

IBM vulnerable to cross-site scripting (XSS) via unsanitized title truncation

State
Published
Severity
6.1 Medium
Published
Oct 20, 2026
Updated
Oct 26, 2026
Reserved
Sep 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nibm

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
@carbon/chartsIBM
  • 0.4.0 through 1.27.19Affected
@carbon/charts-reactIBM
  • 0.4.0 through 1.27.19Affected
@carbon/charts-angularIBM
  • 0.4.0 through 1.27.19Affected
@carbon/charts-vueIBM
  • 0.4.0 through 1.27.19Affected
@carbon/charts-svelteIBM
  • 0.4.0 through 1.27.19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.