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.
Published: 2026-09-02
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Wed, 02 Sep 2026 13:30:00 +0000

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'}


Wed, 02 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache spark
Vendors & Products Apache
Apache spark

Wed, 02 Sep 2026 12:45:00 +0000

Type Values Removed Values Added
References

Wed, 02 Sep 2026 11:30:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-02T12:43:56.359Z

Reserved: 2026-03-13T21:18:59.420Z

Link: CVE-2026-32773

cve-icon Vulnrichment

Updated: 2026-09-02T11:11:30.858Z

cve-icon NVD

Status : Received

Published: 2026-09-02T11:17:20.173

Modified: 2026-09-02T13:17:21.323

Link: CVE-2026-32773

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T13:00:11Z

Weaknesses
  • CWE-80

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