# CVE-2026-35565: Apache Storm UI: Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Storm UI

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.61% (percentile 44, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-f2hp-qw27-8wfq
- **Published:** 2026-04-13T09:10:17.367Z
- **Modified:** 2026-10-26T21:10:00.170Z

## Who should check

- Projects that depend on Maven package org.apache.storm:storm-webapp (\< 2.8.6)
- Anyone running Apache Software Foundation Apache Storm UI \< 2.8.6

## Description

Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Apache Storm UI


Versions Affected: before 2.8.6


Description: The Storm UI visualization component interpolates topology metadata including component IDs, stream names, and grouping values directly into HTML via innerHTML in parseNode() and parseEdge() without sanitization at any layer. An authenticated user with topology submission rights could craft a topology containing malicious HTML/JavaScript in component identifiers (e.g., a bolt ID containing an onerror event handler). This payload flows through Nimbus → Thrift → the Visualization API → vis.js tooltip rendering, resulting in stored cross-site scripting. 

In multi-tenant deployments where topology submission is available to less-trusted users but the UI is accessed by operators or administrators, this enables privilege escalation through script execution in an admin's browser session.


Mitigation: 2.x users should upgrade to 2.8.6. Users who cannot upgrade immediately should monkey-patch the parseNode() and parseEdge() functions in the visualization JavaScript file to HTML-escape all API-supplied values including nodeId, :capacity, :latency, :component, :stream, and :grouping before interpolation into tooltip HTML strings, and should additionally restrict topology submission to trusted users via Nimbus ACLs as a defense-in-depth measure. A guide on how to do this is available in the release notes of 2.8.6.

Credit: This issue was discovered while investigating another report by K.

## Affected and fixed versions

- Maven `org.apache.storm:storm-webapp`: affected \< 2.8.6; fixed 2.8.6 (osv)
- Apache Software Foundation Apache Storm UI: \< 2.8.6 (cvelist)

## Mitigation

- Upgrade org.apache.storm:storm-webapp to 2.8.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-35565. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-35565.md
Affected: org.apache.storm:storm-webapp < 2.8.6
Fixed in: 2.8.6

Steps:
1. Search this machine and project for org.apache.storm:storm-webapp (Maven), Apache Software Foundation Apache Storm UI: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-35565 being exploited?

There is no confirmed exploitation: CVE-2026-35565 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-35565?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-35565?

org.apache.storm:storm-webapp \< 2.8.6.

### Is there a fix for CVE-2026-35565?

Yes. Fixed in 2.8.6. Upgrade org.apache.storm:storm-webapp to 2.8.6 or later.

### How do I check if I'm affected by CVE-2026-35565?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://storm.apache.org/2026/04/12/storm286-released.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-35565>
- other: <http://www.openwall.com/lists/oss-security/2026/04/12/7>
- other: <https://github.com/apache/storm>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-35565>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f2hp-qw27-8wfq> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-35565> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-35565>
