NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-32773: Apache Spark History Server allows stored cross-site scripting through unescaped application names

mediumCVSS 3.1 6.1GHSA-9437-39hj-3c93

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.

Published Sep 2, 2026 · Updated Oct 5, 2026

Affected packages

pyspark

Ecosystem
PyPI
Affected
>= 3.0.0, < 3.5.8
Fixed in
3.5.8
Check
pip show pyspark

org.apache.spark:spark-core_2.12

Ecosystem
Maven
Affected
>= 3.0.0, < 3.5.8
Fixed in
3.5.8
Check
mvn dependency:tree -Dincludes=org.apache.spark:spark-core_2.12

org.apache.spark:spark-core_2.13

Ecosystem
Maven
Affected
>= 3.0.0, < 3.5.8
Fixed in
3.5.8
Check
mvn dependency:tree -Dincludes=org.apache.spark:spark-core_2.13

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to oscerd.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries