1. Accueil
  2. Vulnérabilités
  3. CVE-2026-94402

CVE-2026-94402

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

Publiée le 20 oct. 2026 · modifiée le 26 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 33/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Ibm (5 ligne(s))
Ibm
ProduitVersionsCorrigé dansSource
@carbon/charts-angular de 0.4.0 (inclus) à 1.27.19 (inclus) — CNA (éditeur ou attributeur)
@carbon/charts-react de 0.4.0 (inclus) à 1.27.19 (inclus) — CNA (éditeur ou attributeur)
@carbon/charts-svelte de 0.4.0 (inclus) à 1.27.19 (inclus) — CNA (éditeur ou attributeur)
@carbon/charts-vue de 0.4.0 (inclus) à 1.27.19 (inclus) — CNA (éditeur ou attributeur)
Carbon charts de 0.4.0 (inclus) à 1.27.19 (inclus) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Please update the library to the latest version available on npm:  https://www.npmjs.com/package/@carbon/charts

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

If an immediate upgrade to v1.27.20 is not possible, consuming applications should sanitize all user-influenced strings before passing them as data[0].group (or any label field) to a MeterChart. A DOMPurify call with ALLOWED_TAGS: [] applied to the value before it reaches the chart data will neutralize the payload. This is a temporary workaround only — upgrading to v1.27.20 remains the recommended remediation.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-79 · Script intersite (XSS)

Comment sont obtenues et calculées ces données