Katalog CVE

CVE-2026-35565

ŚrednieCVSS 5.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.47%

Percentyl 40 - wyżej niż 40% wszystkich znanych CVE

Streszczenie

Podatność typu Stored Cross-Site Scripting (XSS) w Apache Storm UI polega na tym, że metadane topologii (identyfikatory komponentów, nazwy strumieni, wartości grupowania) są wstawiane bez sanityzacji do HTML przez funkcje parseNode() i parseEdge(). Uwierzytelniony użytkownik z prawem do zgłaszania topologii może osadzić złośliwy kod HTML/JavaScript w identyfikatorach, który następnie jest wykonywany w przeglądarce operatora lub administratora.

Ocena ryzyka

W środowiskach wielodostępnych, gdzie mniej zaufani użytkownicy mogą zgłaszać topologie, a UI jest używane przez administratorów, może dojść do eskalacji uprawnień poprzez wykonanie skryptu w sesji przeglądarki administratora.

Rekomendacja

Zaktualizuj Apache Storm do wersji 2.8.6. Jeśli aktualizacja nie jest natychmiast możliwa, zmodyfikuj funkcje parseNode() i parseEdge() w pliku JavaScript wizualizacji, aby escapować wszystkie wartości dostarczane przez API (nodeId, :capacity, :latency, :component, :stream, :grouping) przed wstawieniem do HTML, oraz ogranicz możliwość zgłaszania topologii do zaufanych użytkowników poprzez ACL w Nimbus.

Inne podatności w Apache Storm

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS