# CVE-2026-32773: Apache Spark: XSS Vulnerability in Spark Web 3.5.4

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-02 · Modified: 2026-09-02
- Aliases: GHSA-9437-39hj-3c93, BIT-spark-2026-32773, PYSEC-2026-3966
- Record: https://cvemate.com/vulnerability/CVE-2026-32773 · JSON: https://cvemate.com/vulnerability/CVE-2026-32773/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.414%, percentile 37.767%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache spark: ≥ 3.0.0, \< 3.5.8
- apache spark: ≥ 3.0.0, \< 3.5.8
- org.apache.spark spark-core\_2.12 (Maven): ≥ 3.0.0, \< 3.5.8
- org.apache.spark spark-core\_2.13 (Maven): ≥ 3.0.0, \< 3.5.8
- PyPI pyspark (PyPI): ≥ 3.0.0, \< 3.5.8

## References

- <https://lists.apache.org/thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v>
- <http://www.openwall.com/lists/oss-security/2026/09/01/4>
- <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://github.com/advisories/GHSA-9437-39hj-3c93>

---

Data as of 2026-12-05T03:52:07.051Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
