CVE-2022-31777

Apache Spark XSS vulnerability in log viewer UI Javascript

Published Nov 1, 2022 CVSS 3.1 · 5.4 Medium EPSS 1.8% KEV · Not listed
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.

Remediation

Vendor Workaround

Upgrade to Apache Spark maintenance releases 3.2.2, or 3.3.1 or later

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0218 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.
Github GHSA Github GHSA GHSA-43xg-8wmj-cw8h Apache Spark vulnerable to Log Injection
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 6, 2025, 3:36 AM
Reserved
May 27, 2022, 12:00 AM
Status
Modified
Published
Nov 1, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:46 AM
Severity
Moderate
Public date
Nov 1, 2022, 12:00 AM