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.
Medium6.1CVE-2026-32773 · Published Sep 2, 2026 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| pyspark PyPI | >= 3.0.0, < 3.5.8 | 3.5.8 |
Details and references
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.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity from
- the CVSS score
- Also known as
- BIT-spark-2026-32773, CVE-2026-32773
More Apache Spark advisories
All Apache Spark| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 16 | Apache Spark: Spark History Server Code Execution Vulnerability CVE-2025-54920High8.8fixed in 3.5.7, 4.0.1 | High8.8 | 3.5.7, 4.0.1 |
| Oct 152025 | Apache Spark has Inadequate Encryption Strength CVE-2025-55039Lowfixed in 3.4.4, 3.5.2 | Low | 3.4.4, 3.5.2 |
| May 22023 | Apache Spark UI vulnerable to Command Injection CVE-2023-32007High8.8fixed in 3.2.2 | High8.8 | 3.2.2 |
| Apr 172023 | Apache Spark vulnerable to Improper Privilege Management CVE-2023-22946Critical9.9fixed in 3.3.2, 3.3.3 | Critical9.9 | 3.3.2, 3.3.3 |
| Nov 12022 | Apache Spark vulnerable to Log Injection CVE-2022-31777Medium5.4fixed in 3.2.2, 3.3.1 | Medium5.4 | 3.2.2, 3.3.1 |
| Jul 192022 | Apache Spark UI can allow impersonation if ACLs enabled CVE-2022-33891High8.8fixed in 3.1.3, 3.2.2 | High8.8 | 3.1.3, 3.2.2 |