CVE-2022-31777: Apache Spark

Medium severity, CVSS 5.4. EPSS: 1.6% chance of exploitation in the next 30 days.

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

  • Apache Spark: before 3.2.2 (fixed in 3.2.2); version 3.3.0 only

Published 2022-11-01. Last modified 2026-06-17.