Read the docs
TI-2022-13671 Aliases CVE-2022-31777GHSA-43xg-8wmj-cw8h

Apache Spark XSS vulnerability in log viewer UI Javascript

Priority LOW 28CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 1 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0182 78th percentileScored 2026-11-07
Fix Partial pyspark (PyPI): 3.2.2, 3.3.1org.apache.spark:spark-core_2.13 (Maven): 3.2.2, 3.3.1+1 more productRed Hat: 1 advisoryRed Hat: 1 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Spark3.3.0; 3.2.1 and earlier – 3.2.1—No fix listedCNA
—pyspark (PyPI)before 3.2.23.2.2Patch availableGHSA-43xg-8wmj-cw8h
—pyspark (PyPI)3.3.0 to before 3.3.13.3.1Patch availableGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.9.3 (Maven)all versions—No fix listedGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.13 (Maven)before 3.2.23.2.2Patch availableGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.13 (Maven)3.3.0 to before 3.3.13.3.1Patch availableGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.12 (Maven)before 3.2.23.2.2Patch availableGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.12 (Maven)3.3.0 to before 3.3.13.3.1Patch availableGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.11 (Maven)all versions—No fix listedGHSA-43xg-8wmj-cw8h
—org.apache.spark:spark-core_2.10 (Maven)all versions—No fix listedGHSA-43xg-8wmj-cw8h
  • Apache Spark VendorApache Affected 3.3.0; 3.2.1 and earlier – 3.2.1 Fixed in — No fix listed CNA
  • pyspark (PyPI) Vendor— Affected before 3.2.2 Fixed in 3.2.2 Patch available GHSA-43xg-8wmj-cw8h
  • pyspark (PyPI) Vendor— Affected 3.3.0 to before 3.3.1 Fixed in 3.3.1 Patch available GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.9.3 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.13 (Maven) Vendor— Affected before 3.2.2 Fixed in 3.2.2 Patch available GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.13 (Maven) Vendor— Affected 3.3.0 to before 3.3.1 Fixed in 3.3.1 Patch available GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.12 (Maven) Vendor— Affected before 3.2.2 Fixed in 3.2.2 Patch available GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.12 (Maven) Vendor— Affected 3.3.0 to before 3.3.1 Fixed in 3.3.1 Patch available GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.11 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-43xg-8wmj-cw8h
  • org.apache.spark:spark-core_2.10 (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-43xg-8wmj-cw8h

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*before 3.2.2VulnerableApache
cpe:2.3:a:apache:spark:3.3.0:*:*:*:*:*:*:*3.3.0VulnerableApache
  • cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:* Versions before 3.2.2 Vulnerable ·Apache
  • cpe:2.3:a:apache:spark:3.3.0:*:*:*:*:*:*:* Versions 3.3.0 Vulnerable ·Apache

Remediation

  • Fix · GHSA-43xg-8wmj-cw8h pyspark (PyPI) Fixed in 3.2.2 Advisory →
  • Fix · GHSA-43xg-8wmj-cw8h pyspark (PyPI) Fixed in 3.3.1 Advisory →
  • Fix · GHSA-43xg-8wmj-cw8h org.apache.spark:spark-core_2.13 (Maven) Fixed in 3.2.2 Advisory →
  • Fix · GHSA-43xg-8wmj-cw8h org.apache.spark:spark-core_2.13 (Maven) Fixed in 3.3.1 Advisory →
  • Fix · GHSA-43xg-8wmj-cw8h org.apache.spark:spark-core_2.12 (Maven) Fixed in 3.2.2 Advisory →
  • Fix · GHSA-43xg-8wmj-cw8h org.apache.spark:spark-core_2.12 (Maven) Fixed in 3.3.1 Advisory →

Red Hat 1 advisory

  • RHSA-2023:2100 Released 2023-05-03 · Red Hat rating Important
    Red Hat Integration Camel for Spring Boot 3.20.1 security update
    • RHINT Camel-Springboot 3.20.1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Fuse 7AffectedNo fix planned: Will not fix
Red Hat Integration Camel K 1AffectedNo fix planned: Will not fix
Red Hat Integration Camel Quarkus 1AffectedNo fix planned: Will not fix
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
RHINT Camel-Springboot 3.20.1Fixed RHSA-2023:2100

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-31777
  2. 2026-10-03 Alias added: GHSA-43xg-8wmj-cw8h

References

  • TI-2022-14901 Apache Spark shell command injection vulnerability via Spark UI KEVCVSS 3.1HIGH 8.8
  • TI-2023-15314 Apache Spark: Shell command injection via Spark UI CVSS 3.1HIGH 8.8
  • TI-2020-07589 Missing authentication in Apache Spark CVSS 3.1CRITICAL 9.8
  • TI-2020-16549 Uncontrolled resource consumption in Eclipse Jetty CVSS 3.1MEDIUM 5.3
  • TI-2019-14677 HttpObjectDecoder.java in Netty before 4.1.44 allows a Content-Length header to be… CVSS 3.1CRITICAL 9.1
  • TI-2018-08427 Improper authentication in Apache Spark CVSS 3.1MEDIUM 4.2
See all 22 →

Sources