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 esca
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.spark:spark-core_2.12 | >= 3.0.0, < 3.5.8 | 3.5.8 |
| Java / Kotlin (Maven) | org.apache.spark:spark-core_2.13 | >= 3.0.0, < 3.5.8 | 3.5.8 |
| Python (PyPI) | pyspark | >= 3.0.0, < 3.5.8 | 3.5.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-32773
- https://github.com/apache/spark/pull/52851
- https://github.com/apache/spark/commit/3c83c2c6a22fe384280b99bb753b14800b7e27e1
- https://github.com/apache/spark/commit/e739b7d349dbd41b78d49bc8086cab63db057e14
- https://github.com/apache/spark
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2026-3966.yaml
- https://issues.apache.org/jira/browse/SPARK-53747
- https://lists.apache.org/thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v
- http://www.openwall.com/lists/oss-security/2026/09/01/4
- https://github.com/advisories/GHSA-9437-39hj-3c93
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-80- Platform
- Java / Kotlin (Maven), Python (PyPI)
- Package
org.apache.spark:spark-core_2.12, org.apache.spark:spark-core_2.13, pyspark- Disclosed
- 02.09.2026
- Updated
- 15.10.2026 18:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3966 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-9437-39hj-3c93 - CC BY 4.0
Vulnerability history: org.apache.spark:spark-core_2.12
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 11.2022 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 1
- Medium 2
Disclosures per year
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
-
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 esca this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.