CVE-2026-32773: Apache Spark History Server allows stored cross-site scripting through unescaped application names
(updated )
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.
References
- github.com/advisories/GHSA-9437-39hj-3c93
- github.com/apache/spark/commit/3c83c2c6a22fe384280b99bb753b14800b7e27e1
- github.com/apache/spark/commit/e739b7d349dbd41b78d49bc8086cab63db057e14
- github.com/apache/spark/pull/52851
- github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2026-3966.yaml
- issues.apache.org/jira/browse/SPARK-53747
- lists.apache.org/thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v
- nvd.nist.gov/vuln/detail/CVE-2026-32773
Code Behaviors & Features
Detect and mitigate CVE-2026-32773 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →