CVE-2026-94402: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in IBM @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
Affected software
IBM
@carbon/charts
IBM
@carbon/charts-react
IBM
@carbon/charts-angular
IBM
@carbon/charts-vue
IBM
@carbon/charts-svelte
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.