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.
{
"cwe_ids": [
"CWE-74"
],
"cna_assigner": "apache",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31777.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "3.3.0"
},
{
"introduced": "3.2.1 and earlier"
},
{
"last_affected": "3.2.1"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.2.2"
},
{
"last_affected": "3.3.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"cpe": [
"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:spark:3.3.0:*:*:*:*:*:*:*"
]
}