{"schemaVersion":4,"id":"CVE-2026-32773","aliases":["GHSA-9437-39hj-3c93","BIT-spark-2026-32773","PYSEC-2026-3966"],"status":"published","duplicateOf":null,"title":"Apache Spark: XSS Vulnerability in Spark Web 3.5.4","description":"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.","dates":{"published":"2026-09-02T10:51:17.197Z","modified":"2026-09-02T12:43:56.359Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00414,"percentile":0.37767,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00414},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00667,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00414,"percentile":0.37767}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00679,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00414,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00414,"percentile":0.37767}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as \"<\", \">\", and \"&\" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/80.html"}],"affected":[{"vendor":"apache software foundation","product":"apache spark","name":"Apache Spark","label":"apache spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.5.8","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.5.8","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_spark"},{"vendor":"apache","product":"spark","name":"Spark","label":"spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.5.8","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.5.8","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-spark","label":"Apache Spark","category":"server-app"}},"hubHref":"/vendor/apache/spark"},{"vendor":"org.apache.spark","product":"spark-core_2.12","name":"org.apache.spark:spark-core_2.12","label":"spark-core_2.12","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.12","purlType":"maven","versions":[{"text":"≥ 3.0.0, < 3.5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.5.8","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.5.8","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-core_2.13","name":"org.apache.spark:spark-core_2.13","label":"spark-core_2.13","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.13","purlType":"maven","versions":[{"text":"≥ 3.0.0, < 3.5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.5.8","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.5.8","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pyspark","name":"pyspark","label":"pyspark","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyspark","purlType":"pypi","versions":[{"text":"≥ 3.0.0, < 3.5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0","startInclusive":true,"end":"3.5.8","endInclusive":false}}],"versionsText":"≥ 3.0.0, < 3.5.8","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v","label":"lists.apache.org/thread/k36prh3oxl1z6ov7w8rpmfnt07hmzw3v","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Advisory","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/01/4","label":"www.openwall.com/lists/oss-security/2026/09/01/4","hostname":"www.openwall.com","tags":["WEB","Advisory","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32773","label":"nvd.nist.gov/vuln/detail/CVE-2026-32773","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/spark/pull/52851","label":"github.com/apache/spark/pull/52851","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/spark/commit/3c83c2c6a22fe384280b99bb753b14800b7e27e1","label":"github.com/apache/spark/commit/3c83c2c6a22fe384280b99bb753b14800b7e27e1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/spark/commit/e739b7d349dbd41b78d49bc8086cab63db057e14","label":"github.com/apache/spark/commit/e739b7d349dbd41b78d49bc8086cab63db057e14","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/spark","label":"github.com/apache/spark","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2026-3966.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2026-3966.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://issues.apache.org/jira/browse/SPARK-53747","label":"issues.apache.org/jira/browse/SPARK-53747","hostname":"issues.apache.org","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-9437-39hj-3c93","label":"github.com/advisories/GHSA-9437-39hj-3c93","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-02T10:51:17.197Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-02T12:43:56.359Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,61],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00414,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-09-02T12:43:56.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2026-09-02T12:43:56.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_maven","date":"2026-09-02T12:43:56.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-09-02T12:43:56.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-09-02T12:43:42.479Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00414,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T05:02:50.511Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T05:02:51.052Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T05:02:51.313Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T05:00:54.010Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T05:02:48.843Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T05:02:47.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T05:16:15.425Z","stale":false,"partial":false}}