Apache Spark XSS vulnerability in log viewer UI Javascript
CVE-2022-31777

5.4MEDIUM

Key Information:

Vendor

Apache

Vendor
CVE Published:
1 November 2022

Key facts: CVE-2022-31777 is a medium severity (CVSS 5.4) vulnerability in Apache Spark. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.7%, the estimated probability of exploitation in the next 30 days.

What is CVE-2022-31777?

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 Version(s)

Apache Spark 3.3.0

Apache Spark 3.2.1 and earlier <= 3.2.1

References

  • CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache
  • CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions
  • CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions
  • CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
  • CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
  • CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau
  • CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module
  • CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint
Browse all analysed vulnerabilities ›

CVSS V3.1

Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Florian Walter (Veracode)
.