CVE record
CVE-2022-31777
Apache Spark XSS vulnerability in log viewer UI Javascript
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.
CVE evidence
Known exploitation
Not listed in fetched KEV catalog
Absence from the fetched catalog does not establish that exploitation has not occurred.
Severity
moderate
CVSS 5.4 ยท CVSS_V3
Affected packages
6
Supported package records returned by OSV. Vendor and product names are not used to infer matches.
OSV package mapping
Affected open-source packages
| Package | Ecosystem | Fixed versions |
|---|---|---|
| pyspark | pypi | 3.2.2, 3.3.1 |
| org.apache.spark:spark-core_2.9.3 | maven | Not specified |
| org.apache.spark:spark-core_2.13 | maven | 3.2.2, 3.3.1 |
| org.apache.spark:spark-core_2.12 | maven | 3.2.2, 3.3.1 |
| org.apache.spark:spark-core_2.11 | maven | Not specified |
| org.apache.spark:spark-core_2.10 | maven | Not specified |