Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2026-32773 — spark-core_2.12

MEDIUMFix: apache/spark#52851

CVE-2026-32773 is a medium-severity (CVSS 6.1) CWE-80 vulnerability in org.apache.spark:spark-core_2.12. A fix is available for org.apache.spark:spark-core_2.12 — see the affected versions and patch details below.

Apache Spark: XSS Vulnerability in Spark Web 3.5.4

Also known asBIT-spark-2026-32773GHSA-9437-39hj-3c93PYSEC-2026-3966
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Oct 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-32773.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk-0.27%
Lower risk than most CVEs35th percentile — riskier than 35% of all scored CVEsHighest risk
0.00%0.39%0.79%1.18%0.7%0.4%Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2026-32773 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 394,803 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

3 pkgs affected
☕org.apache.spark:spark-core_2.12☕org.apache.spark:spark-core_2.13🐍pyspark

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven, PyPI packages — download data is not available via public APIs for these ecosystems.

Description

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 Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.spark:spark-core_2.12≥ 3.0.0&&< 3.5.83.5.8org.apache.spark:spark-core_2.12:3.5.8
☕Mavenorg.apache.spark:spark-core_2.13≥ 3.0.0&&< 3.5.83.5.8org.apache.spark:spark-core_2.13:3.5.8
🐍PyPIpyspark≥ 3.0.0&&< 3.5.83.5.8pip install --upgrade 'pyspark==3.5.8'

Affected Products

1 product · 1 configurations
Application
sparkapache
≥ 3.0.0 && < 3.5.8
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.spark:spark-core_2.12, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.spark:spark-core_2.12 to 3.5.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-32773 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow

Red Hat rates this issue Low because exploitation requires privileges to submit a malicious Spark job and interaction by a higher-privilege Spark History Server user.

Workaround published by Red Hat
Restrict Spark job submission and Spark History Server access to trusted users until affected Spark components can be updated.
Source: Red Hat security advisory for CVE-2026-32773 (CC BY 4.0)

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2026-32773 in your dependencies?

Find it across Maven, PyPI, including transitive dependencies.

CVE-2026-32773: spark-core_2.12 XSS — Fixed in 3.5.8