Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-31777 BIT-spark-2022-31777EUVD-2022-0218GHSA-43xg-8wmj-cw8hPYSEC-2022-42976

Apache Spark XSS vulnerability in log viewer UI Javascript

Published Nov 1, 2022 · Updated May 6, 2025 · Assigned by apache

Description

A stored cross-site scripting (XSS) vulnerability in Apache Spark 3.2.1 and earlier, and 3.3.0, allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload into the logs which would be returned in logs rendered in the UI.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Spark 3.3.0, 3.2.1 and earlier – ≤ 3.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.spark:spark-core_2.10 all versions — GHSA-43xg-8wmj-cw8h
Maven org.apache.spark:spark-core_2.11 all versions — GHSA-43xg-8wmj-cw8h
Maven org.apache.spark:spark-core_2.12 < 3.2.2 3.2.2 GHSA-43xg-8wmj-cw8h
Maven org.apache.spark:spark-core_2.12 >= 3.3.0, < 3.3.1 3.3.1 GHSA-43xg-8wmj-cw8h
Maven org.apache.spark:spark-core_2.13 < 3.2.2 3.2.2 GHSA-43xg-8wmj-cw8h
Maven org.apache.spark:spark-core_2.13 >= 3.3.0, < 3.3.1 3.3.1 GHSA-43xg-8wmj-cw8h
Maven org.apache.spark:spark-core_2.9.3 all versions — GHSA-43xg-8wmj-cw8h
PyPI pyspark < 3.2.2 3.2.2 PYSEC-2022-42976
PyPI pyspark >= 3.3.0, < 3.3.1 3.3.1 GHSA-43xg-8wmj-cw8h

Advisories 1

References