Skip to main content
Vulnerability Database/CVE-2026-112290

CVE-2026-112290: IC UI Kit DOM-Based XSS Vulnerability

CVE-2026-112290 is a DOM-based cross-site scripting flaw in Intelligence Community UI Kit that allows attackers to execute malicious JavaScript through tree item labels. This post covers technical details, affected versions, impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112290 Overview

CVE-2026-112290 is a DOM-based cross-site scripting (XSS) vulnerability [CWE-79] in the Intelligence Community UI Kit @ukic/canary-web-components package. The flaw affects versions 3.0.0-canary.12 through versions prior to 3.0.0-canary.48. The ic-tree-item component re-parses router-item slot text as HTML when tree item truncation is enabled. Attackers who influence a tree item label can cause escaped markup to be decoded by truncateTreeItemLabel() and executed as JavaScript in a visitor's browser.

Critical Impact

Attacker-controlled tree item labels can execute arbitrary JavaScript in the context of the hosting application, enabling session theft, UI manipulation, and client-side data disclosure.

Affected Products

  • @ukic/canary-web-components version 3.0.0-canary.12
  • @ukic/canary-web-components versions after 3.0.0-canary.12 and before 3.0.0-canary.48
  • Applications consuming the ic-tree-item component with tree item truncation enabled

Discovery Timeline

  • 2026-10-19 - CVE-2026-112290 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112290

Vulnerability Analysis

The vulnerability resides in the ic-tree-item component shipped with the Intelligence Community UI Kit @ukic/canary-web-components package. When tree item truncation is enabled, the component invokes truncateTreeItemLabel() to adjust label rendering. The implementation assigns slotted text content to the innerHTML property of a newly created ic-typography element. The browser then parses the assigned string as HTML markup rather than treating it as literal text.

Any HTML entities previously escaped by upstream sanitization are decoded during this reassignment. Markup containing event handlers or <script>-equivalent payloads executes within the Document Object Model (DOM) of the hosting page. The flaw is a client-side injection sink that bypasses server-side encoding entirely.

The EPSS score is 0.183% with a percentile of 7.449, reflecting a low observed-exploitation probability. However, successful exploitation grants full JavaScript execution in the victim's browser session.

Root Cause

The root cause is unsafe use of the innerHTML sink in the ic-tree-item.tsx component. The code read slottedContent.textContent and assigned it to newTypographyEl.innerHTML, re-interpreting plain text as parseable HTML. The fix replaces the innerHTML sink with textContent, which treats the value as a text node and prevents HTML parsing.

Attack Vector

Exploitation requires an attacker to influence the label text of a router-item slot rendered inside an ic-tree-item where truncation is enabled. A victim must load the affected page and interact with the rendered tree. The attack vector is network-based and user-interaction dependent. Payloads delivered through stored data, URL parameters, or any upstream source that populates tree labels can trigger script execution.

text
// Security patch - packages/canary-web-components/src/components/ic-tree-item/ic-tree-item.tsx
     if (!typographyEl && slottedContent) {
       const newTypographyEl = document.createElement("ic-typography");
-      newTypographyEl.innerHTML = slottedContent.textContent!;
+      newTypographyEl.textContent = slottedContent.textContent!;
       newTypographyEl.classList.add("tree-item-label");
       slottedContent.replaceChild(newTypographyEl, slottedContent.firstChild!);
       typographyEl = newTypographyEl;

Source: GitHub Commit e0eb0f16597d

Detection Methods for CVE-2026-112290

Indicators of Compromise

  • Tree item labels containing HTML tags, event handler attributes such as onerror= or onload=, or encoded script payloads.
  • Browser console errors or unexpected network requests originating from pages that render ic-tree-item elements.
  • Unexpected outbound requests from user sessions after loading application views containing truncated tree labels.

Detection Strategies

  • Audit application dependencies for @ukic/canary-web-components versions in the range 3.0.0-canary.12 through 3.0.0-canary.47.
  • Scan source code and templates for ic-tree-item usage with truncation enabled and dynamic label sources.
  • Enable Content Security Policy (CSP) violation reporting to surface inline script execution attempts in affected pages.

Monitoring Recommendations

  • Monitor web server logs for suspicious payloads targeting fields that populate tree item labels.
  • Collect browser-side telemetry for CSP report-only violations tied to script-src and inline event handlers.
  • Alert on anomalous session activity following interaction with pages that render tree components.

How to Mitigate CVE-2026-112290

Immediate Actions Required

  • Upgrade @ukic/canary-web-components to version 3.0.0-canary.48 or later across all affected applications.
  • Inventory all front-end projects that import ic-tree-item and prioritize deployment of the patched release.
  • Review upstream data sources that populate tree item labels and enforce strict server-side sanitization.

Patch Information

The maintainers resolved the issue in commit e0eb0f16597dcb994a75c5230cd9243647ad7b3d by changing the sink in ic-tree-item.tsx from innerHTML to textContent. The fix is included in @ukic/canary-web-components version 3.0.0-canary.48. See the GitHub commit and the VulnCheck Security Advisory for full details.

Workarounds

  • Disable tree item truncation on ic-tree-item instances until the patched version is deployed.
  • Enforce a strict Content Security Policy that blocks inline script execution and unsafe event handlers.
  • Sanitize and HTML-encode any user-controlled text before it reaches router-item slot content.
bash
# Upgrade to the patched release
npm install @ukic/canary-web-components@3.0.0-canary.48

# Verify installed version
npm ls @ukic/canary-web-components

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.