MODERATE 6.1

CVE-2026-32773

Apache Spark History Server allows stored cross-site scripting through unescaped application names

Description

There is a lack of XSS escaping in the Spark History Server prior to 3.5.8 which allows a malicious Spark job to generate arbitrary unescaped frontend code which could lead to a minimal privilege escalation in browser. Users are encouraged to upgrade to Spark 3.5.8 or later.

This CVE is marked as "low" since the path to exploit requires both relatively high permissions (ability to launch a Spark job) and requires tricking a user with higher permissions to log in and visit the Spark history web page.

Users are encouraged to upgrade their Spark history servers to Spark 3.5.8 or later.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.spark » spark-core_2.12
>= 3.0.0, < 3.5.8
3.5.8
org.apache.spark » spark-core_2.13
>= 3.0.0, < 3.5.8
3.5.8

Blast radius

1affected artifacts
610affected versions
937dependent artifacts (est.)
24,709dependent versions

65% of the dependent artifacts (616) still pull an affected version in their latest release.

DepthDependent versions
Direct
10,794
2 hops
7,598
3 hops
3,040
4 hops
2,346
5 hops
826
6 hops
105

Most used dependents

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects PyPI (1 package) . See all on OSV