CVE-2022-31777
published medium CVSS 3.1 · 5.4Apache Spark XSS vulnerability in log viewer UI Javascript
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Spark3.3.0 · 3.2.1 and earlier through 3.2.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Spark | 3.3.0 (affected)3.2.1 and earlier through 3.2.1 (affected · custom) | apache · cna |
Weaknesses
1- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
2- [oss-security] 20221101 CVE-2022-31777: Apache Spark XSS vulnerability in log viewer UI Javascript http://www.openwall.com/lists/oss-security/2022/11/01/14
- https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q
Provider assertions
3apache · cna
Apache Spark XSS vulnerability in log viewer UI Javascript
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 17ea9d95cc0a6b8a91c93ba5294571d4a758fa6554a381acdf3a13ab7bf8f6fa
- Ingested
- 23 Sep 2026, 08:00:34 UTC
- Source record
- Official CVE record