Apache Spark XSS vulnerability in log viewer UI Javascript
Apache Software Foundation Apache Spark
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pyspark PyPI |
|
|
| org.apache.spark:spark-core_2.9.3 Maven |
| No fix yet |
Apache Software Foundation Apache Spark
| Product | Affected | Fixed in |
|---|---|---|
| pyspark PyPI |
|
|
| org.apache.spark:spark-core_2.9.3 Maven |
| No fix yet |
|
|
| org.apache.spark:spark-core_2.12 Maven |
|
|
| org.apache.spark:spark-core_2.11 Maven |
| No fix yet |
| org.apache.spark:spark-core_2.10 Maven |
| No fix yet |
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.
From the CVE record · apache
Apache Spark 3.2.1 and earlier, and 3.3.0, can render malicious content from logs in its web UI. A remote attacker who places a payload in the logs can execute JavaScript in a user's browser when that user views the rendered logs.
Teams running affected Apache Spark versions or the listed PyPI pyspark and Maven spark-core packages should check their deployments; the spark-core_2.9.3, spark-core_2.11, and spark-core_2.10 packages are affected in all versions listed.