Advisory

GHSA-9437-39hj-3c93

Also known as: BIT-spark-2026-32773, CVE-2026-32773, PYSEC-2026-3966

Summary

Apache Spark History Server allows stored cross-site scripting through unescaped application names

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-09-02 12:31 UTC
Modified
2026-10-05 23:10 UTC

Affected packages and fixes

pyspark

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.5.8 (ecosystem)

Fixed versions

3.5.8

Fix

  • Fixed version 3.5.8
    pip install --upgrade pyspark==3.5.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences