Skip to main content

CVE-2026-94402: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in IBM @carbon/charts

0
Medium
VulnerabilityCVE-2026-94402cvecve-2026-94402cwe-79
Published: 10/20/2026 (10/20/2026, 21:31:46 UTC)
Source: CVE Database V5
Vendor/Project: IBM
Product: @carbon/charts

Description

IBM Carbon Charts versions 0.4.0 through 1.27.19 contain a cross-site scripting (XSS) vulnerability in the MeterChart component. The issue arises because the Title.truncateTitle() function unsafely inserts a substring of user-provided label text into the DOM using innerHTML without proper sanitization. This allows remote attackers to execute arbitrary JavaScript in the context of the victim's browser session. The vulnerability has a medium severity rating with a CVSS score of 6.1.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

IBM

@carbon/charts

Affected versions
>=0.4.0 <=1.27.19

IBM

@carbon/charts-react

Affected versions
>=0.4.0 <=1.27.19

IBM

@carbon/charts-angular

Affected versions
>=0.4.0 <=1.27.19

IBM

@carbon/charts-vue

Affected versions
>=0.4.0 <=1.27.19

IBM

@carbon/charts-svelte

Affected versions
>=0.4.0 <=1.27.19
@carbon/charts
pkg:npm/@carbon/charts
CPE configurations (10)
cpe:2.3:a:ibm:carbon_charts:0.4.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:carbon_charts:1.27.19:*:*:*:*:*:*:*
cpe:2.3:a:ibm:carboncharts_react:0.4.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:carboncharts_react:1.27.19:*:*:*:*:*:*:*
cpe:2.3:a:ibm:carboncharts_angular:0.4.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:carboncharts_angular:1.27.19:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 22:03:37 UTC

Technical Analysis

The vulnerability in IBM @carbon/charts affects versions 0.4.0 through 1.27.19. The MeterChart component's Title.truncateTitle() function improperly neutralizes input by re-inserting a substring of user-supplied label text into the DOM via an unsanitized innerHTML write when the title exceeds the container width. This improper input handling leads to a cross-site scripting (CWE-79) vulnerability, enabling remote attackers to execute arbitrary JavaScript in the victim's browser session.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the victim's browser session, potentially leading to information disclosure or session hijacking. The impact is limited to confidentiality and integrity with no direct availability impact. The CVSS 3.1 score is 6.1 (medium severity).

Mitigation Recommendations

No official patch or fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using affected versions or implement input sanitization and output encoding on user-supplied labels before rendering them in the MeterChart component.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
ibm
Date Reserved
2026-09-21T13:43:42.740Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad7e2092cdf04f65665d41d

Added to database: 10/20/2026, 21:50:01 UTC

Last enriched: 10/20/2026, 22:03:37 UTC

Last updated: 10/20/2026, 22:08:15 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses