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)
| Artifact | Affected versions | Fixed 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
65% of the dependent artifacts (616) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.spark » spark-sql3,176 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst503 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hive » hive-serde206 usages
- org.apache.spark » spark-avro163 usages
- org.apache.spark » spark-sql-kafka-0-10146 usages
- org.apache.spark » spark-graphx143 usages
- org.apache.spark » spark-tags140 usages
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
References
| Advisory | NVD CVE-2026-32773 | nvd.nist.gov |
| Package | apache/spark | github.com |
| Web | apache/spark pull request #52851 | github.com |
| Web | apache/spark commit 3c83c2c | github.com |
| Web | apache/spark commit e739b7d | github.com |
| Web | pypa/advisory-database PYSEC-2026-3966.yaml | github.com |
| Web | jira/browse/SPARK-53747 | issues.apache.org |
| Web | thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v | lists.apache.org |
| Web | lists/oss-security/2026/09/01/4 | openwall.com |
