{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.storm:storm-webapp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-35565 in the wild and no public exploit code.","fix":"Upgrade org.apache.storm:storm-webapp to 2.8.6 or later.","what":"CVE-2026-35565 is a medium-severity cross-site scripting vulnerability in Apache Storm UI, published on 13 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-35565 and fix it if it is affected.\n\nWhat it is: CVE-2026-35565 is a medium-severity cross-site scripting vulnerability in Apache Storm UI, published on 13 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-35565 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.storm:storm-webapp (Maven): affected all versions; fixed in 2.8.6\n- org.apache.storm:storm-webapp (Maven): affected all versions; fixed in 2.8.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-35565/ (Markdown: https://insights.sbomify.com/CVE-2026-35565/index.md)","id":"CVE-2026-35565","markdown":"https://insights.sbomify.com/CVE-2026-35565/index.md","name":"CVE-2026-35565","record":{"aliases":["GHSA-f2hp-qw27-8wfq"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Storm UI","requires_auth":"low_privilege","summary":"Authenticated users can inject malicious scripts via topology metadata, leading to code execution and privilege escalation in admin browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"storm","vendor":"apache"}],"cvss":{"score":5.4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Apache Storm UI\n\nVersions Affected: before 2.8.6\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\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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Storm UI: Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Storm UI","id":"CVE-2026-35565","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"MCP Java-SDK has a DNS Rebinding Vulnerability","id":"CVE-2026-35568"},"packages":[{"ecosystem":"Maven","fixed":["2.8.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.storm:storm-webapp","purl":null,"source":"GHSA-f2hp-qw27-8wfq"},{"ecosystem":"Maven","fixed":["2.8.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.storm:storm-webapp","purl":"pkg:maven/org.apache.storm/storm-webapp","source":"GHSA-f2hp-qw27-8wfq"}],"prev":{"headline":"Apache Directory LDAP API lacks server certificate verification for LDAP hostnames","id":"CVE-2026-35563"},"products":["Apache Storm UI"],"published":"2026-04-13","related":[{"cvss_score":9.8,"headline":"Shell Command Injection Vulnerability in Nimbus Thrift Server","id":"CVE-2021-38294","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":9.8,"headline":"Unsafe Pre-Authentication Deserialization In Workers","id":"CVE-2021-40865","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Apache Storm","id":"CVE-2018-11779","kev_date_added":null,"published":"2019-07-25"},{"cvss_score":9.8,"headline":"Apache Storm remote code execution vulnerability","id":"CVE-2015-3188","kev_date_added":null,"published":"2017-01-13"},{"cvss_score":8.8,"headline":"Apache Storm Client: RCE through Unsafe Deserialization via Kerberos TGT Credential Handling","id":"CVE-2026-35337","kev_date_added":null,"published":"2026-04-13"},{"cvss_score":8.8,"headline":"Code execution in org.apache.storm:storm-core","id":"CVE-2018-1331","kev_date_added":null,"published":"2018-07-10"},{"cvss_score":8.8,"headline":"Apache Storm it is possible for the owner of a topology to trick the supervisor to launch a worker as a different, non-root, user","id":"CVE-2017-9799","kev_date_added":null,"published":"2017-08-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-13","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can inject malicious scripts via topology metadata, leading to code execution and privilege escalation in admin browsers.","url":"https://insights.sbomify.com/CVE-2026-35565/"}