{"id":"BIT-spark-2022-31777","summary":"Apache Spark XSS vulnerability in log viewer UI Javascript","details":"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.","aliases":["CVE-2022-31777","GHSA-43xg-8wmj-cw8h","PYSEC-2022-42976"],"modified":"2026-09-08T08:47:48.093253857Z","published":"2024-03-06T11:05:38.200Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:spark:3.3.0:*:*:*:*:*:*:*"]},"references":[{"type":"DISCUSSION","url":"http://www.openwall.com/lists/oss-security/2022/11/01/14"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31777"}],"affected":[{"package":{"name":"spark","ecosystem":"Bitnami","purl":"pkg:bitnami/spark"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.2"},{"introduced":"3.3.0"},{"fixed":"3.3.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/spark/BIT-spark-2022-31777.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}