5.4medium
Apache Spark XSS vulnerability in log viewer UI Javascript
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.75% (higher than 78% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-43xg-8wmj-cw8hBIT-SPARK-2022-31777PYSEC-2022-42976
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Spark | 3.3.0, from 3.2.1 and earlier up to 3.2.1 | CVE List |
| pyspark (PyPI) | before 3.2.2, from 3.3.0 before 3.3.1 | GitHub Advisory Database, PyPA Advisory Database |
| org.apache.spark:spark-core_2.9.3 (Maven) | all versions | GitHub Advisory Database |
| org.apache.spark:spark-core_2.13 (Maven) | before 3.2.2, from 3.3.0 before 3.3.1 | GitHub Advisory Database |
| org.apache.spark:spark-core_2.12 (Maven) | before 3.2.2, from 3.3.0 before 3.3.1 | GitHub Advisory Database |
| org.apache.spark:spark-core_2.11 (Maven) | all versions | GitHub Advisory Database |
| org.apache.spark:spark-core_2.10 (Maven) | all versions | GitHub Advisory Database |
| apache spark | before 3.2.2, 3.3.0 | NVD |
| spark (Bitnami) | before 3.2.2, from 3.3.0 before 3.3.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de Cross-Site Scripting (XSS) Almacenado en Apache Spark 3.2.1 y anteriores, y 3.3.0, permite a atacantes remotos ejecutar JavaScript arbitrario en el navegador web de un usuario, al incluir un payload malicioso en los registros que serían devuelto en registros representados en la interfaz de usuario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31777 changed 2025-05-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-43xg-8wmj-cw8h changed 2025-12-18 | CC-BY-4.0 |
| NVD | CVE-2022-31777 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-42976 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-SPARK-2022-31777 changed 2026-09-08 | Apache-2.0 |