CVE-2022-31777

Apache Spark XSS vulnerability in log viewer UI Javascript

State
Published
Severity
5.4 Medium
Published
Nov 1, 2022
Updated
May 6, 2025
Reserved
May 27, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NCISA-ADP

Weaknesses

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Affected Products

ProductVersions
Apache SparkApache Software Foundation
  • 3.3.0Affected
  • 3.2.1 and earlier through 3.2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.