{"schemaVersion":3,"id":"CVE-2026-32773","aliases":["GHSA-9437-39hj-3c93","BIT-spark-2026-32773","PYSEC-2026-3966"],"status":"published","duplicateOf":null,"title":null,"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.34264,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.253,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00667},"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":0.34264}],"last30":[{"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":0.34264}]},"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 (Basic XSS)","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}],"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}],"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}],"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}],"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}],"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}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:52:34.628Z","stale":false,"partial":false}}