title: Apache Spark XSS vulnerability in log viewer UI Javascript
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.
problem types: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
affected:
{
product: Apache Spark
vendor: Apache Software Foundation
versions:
status: affected, version: 3.3.0
lessThanOrEqual: 3.2.1, status: affected, version: 3.2.1 and earlier, versionType: custom
}
metrics:
other: [
content: {'other': 'moderate'}
type: unknown
]
workarounds: Upgrade to Apache Spark maintenance releases 3.2.2, or 3.3.1 or later