{"id":"CVE-2026-32773","aliases":["CVE-2026-32773","GHSA-9437-39hj-3c93","BIT-SPARK-2026-32773","PYSEC-2026-3966"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Spark: XSS Vulnerability in Spark Web 3.5.4","summary":"There is a lack of XSS escaping in the Spark History Server prior to 3.5.8 which allows a malicious Spark job to generate arbitrary unescaped frontend code which could lead to a minimal privilege escalation in browser. Users are encouraged to upgrade to Spark 3.5.8 or later.\n\nThis CVE is marked as \"low\" since the path to exploit requires both relatively high permissions (ability to launch a Spark job) and requires tricking a user with higher permissions to log in and visit the Spark history web page.\n\nUsers are encouraged to upgrade their Spark history servers to Spark 3.5.8 or later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"There is a lack of XSS escaping in the Spark History Server prior to 3.5.8 which allows a malicious Spark job to generate arbitrary unescaped frontend code which could lead to a minimal privilege escalation in browser. Users are encouraged to upgrade to Spark 3.5.8 or later.\n\nThis CVE is marked as \"low\" since the path to exploit requires both relatively high permissions (ability to launch a Spark job) and requires tricking a user with higher permissions to log in and visit the Spark history web page.\n\nUsers are encouraged to upgrade their Spark history servers to Spark 3.5.8 or later.","source":"cvelist"}],"published":"2026-09-02T10:51:17.197Z","modified":"2026-10-15T14:45:14.801Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-80"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"3.5.8","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Spark","package":"org.apache.spark:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.5.8"}],"ecosystem":"PyPI","package":"pyspark","purl":"pkg:pypi/pyspark","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.5.8"}],"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.12","purl":"pkg:maven/org.apache.spark/spark-core_2.12","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.5.8"}],"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.13","purl":"pkg:maven/org.apache.spark/spark-core_2.13","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.5.8"}],"vendor":"apache","product":"spark","cpe":"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.5.8"}],"ecosystem":"PyPI","package":"pyspark","purl":"pkg:pypi/pyspark","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.5.8"}],"ecosystem":"Bitnami","package":"spark","purl":"pkg:bitnami/spark","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/01/4","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32773","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/spark/pull/52851","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/spark/commit/3c83c2c6a22fe384280b99bb753b14800b7e27e1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/spark/commit/e739b7d349dbd41b78d49bc8086cab63db057e14","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/spark","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2026-3966.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/SPARK-53747","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-9437-39hj-3c93","tags":["advisory"],"sources":["pysec"]}],"credits":["Yann Gourio"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-02T12:43:42.479Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32773","url":"https://www.cve.org/CVERecord?id=CVE-2026-32773","licence":"CVE Terms of Use","modified":"2026-09-02T12:43:56.359Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9437-39hj-3c93","url":"https://github.com/advisories/GHSA-9437-39hj-3c93","licence":"CC-BY-4.0","modified":"2026-10-05T23:10:51.868Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32773","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32773","licence":"Public domain","modified":"2026-09-08T13:04:14.690Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3966","url":"https://osv.dev/vulnerability/PYSEC-2026-3966","licence":"CC-BY-4.0","modified":"2026-10-15T14:45:14.801Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SPARK-2026-32773","url":"https://osv.dev/vulnerability/BIT-SPARK-2026-32773","licence":"Apache-2.0","modified":"2026-10-05T23:10:51.868Z"}],"updatedAt":"2026-11-25T22:59:36.075Z","epss":{"score":0.00414,"percentile":0.37776,"date":"2026-12-01T12:00:22.000Z"}}