CVE-2026-32773

Apache Spark: XSS Vulnerability in Spark Web 3.5.4

Published Sep 2, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Spark History Server prior to version 3.5.8 does not escape certain user‑supplied strings, allowing a malicious job to embed arbitrary HTML or JavaScript into the web interface. This flaw can be exploited to execute arbitrary code in the victim’s browser, effectively raising the attacker’s privileges from a low‑level job executor to the higher‑privilege user who views the history page. The vulnerability is a classic Cross‑Site Scripting flaw.

Affected Systems

Apache Spark History Server running Apache Spark versions before 3.5.8, such as 3.5.4, is affected by this issue.

Risk and Exploitability

The CVSS score is 6.1; exploitation requires the ability to submit a Spark job, which typically demands cluster or admin level permissions, and a victim user with higher privileges must be lured to view the history page. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating a moderate risk that hinges on multiple preconditions and reduces the likelihood of widespread attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading to Apache Spark 3.5.8 or newer.
  • Restrict the ability to submit jobs that can affect the history server to trusted users only.
  • Configure access controls or disable the History Server for untrusted workloads to prevent malicious payloads from being stored in job logs.

Generated by OpenCVE AI on September 2, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9437-39hj-3c93 Apache Spark History Server allows stored cross-site scripting through unescaped application names
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache spark
Vendors & Products Apache
Apache spark
Type Values Removed Values Added
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.
Title Apache Spark: XSS Vulnerability in Spark Web 3.5.4
Weaknesses CWE-80
References
Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 2, 2026, 12:43 PM
Reserved
Mar 13, 2026, 9:18 PM
Status
Analyzed
Published
Sep 2, 2026, 11:17 AM
Modified
Sep 8, 2026, 1:04 PM