Vulnerabilities in pkg:maven/org.apache.storm/storm-webapp

PACKAGE
Advisory Identifier: GHSA-f2hp-qw27-8wfq
Advisory Summary

CVE-2026-35565 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Apache Storm UI libraries in the Maven ecosystem. The issue involves stored cross-site scripting (xss) via unsanitized topology metadata. Remediation is available by upgrading affected packages to version 2.8.6.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.storm/storm-webapp

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.storm/storm-webapp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-f2hp-qw27-8wfq CVE-2026-35565 MODERATE Apache Storm UI: Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata

CVE-2026-35565 at a Glance

CVE Identifier CVE-2026-35565
GHSA Identifier GHSA-f2hp-qw27-8wfq
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Apache Storm UI
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

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

How to Fix CVE-2026-35565

To remediate this vulnerability, upgrade all affected Apache Storm UI dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.storm:storm-webapp fixed: 2.8.6
<dependency>
    <groupId>org.apache.storm</groupId>
    <artifactId>storm-webapp</artifactId>
    <version>2.8.6</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.storm

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-35565, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.storm

Analyze the terminal output to locate any version of Apache Storm UI in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.storm command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Apache Storm UI, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-35565 Affected Apache Storm UI Versions

1 component(s)
Fixed Versions:
2.8.6
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.storm:storm-webapp
Maven
< 2.8.6
2.8.6

References

Frequently Asked Questions

What is CVE-2026-35565?
CVE-2026-35565 is a security vulnerability in Apache Storm UI involving Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Apache Storm UI versions are affected?
Affected versions include releases prior to 2.8.6 across affected packages: org.apache.storm:storm-webapp.
What version fixes CVE-2026-35565?
Upgrading to 2.8.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is storm-webapp affected?
Yes, org.apache.storm:storm-webapp is affected in releases prior to 2.8.6. Upgrade your dependency to 2.8.6 or later.
What is the CVSS score of CVE-2026-35565?
CVE-2026-35565 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-35565?
CVE-2026-35565 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Maven dependencies for CVE-2026-35565?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.storm'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f2hp-qw27-8wfq",
  "modified" : "2026-04-14T22:50:39Z",
  "published" : "2026-04-13T12:31:15Z",
  "aliases" : [ "CVE-2026-35565" ],
  "summary" : " Apache Storm UI: Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata",
  "details" : "Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Apache Storm UI\n\n\nVersions Affected: before 2.8.6\n\n\nDescription: 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. \n\nIn 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.\n\n\nMitigation: 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.\n\nCredit: This issue was discovered while investigating another report by K.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.storm:storm-webapp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.8.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35565"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/storm"
  }, {
    "type" : "WEB",
    "url" : "https://storm.apache.org/2026/04/12/storm286-released.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/04/12/7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-14T22:50:39Z",
    "nvd_published_at" : "2026-04-13T10:16:11Z"
  }
}