Skip to content
OpenAdvisories
High · 7.7 Scanner template CVE-2025-59341 EUVD-2025-29745GHSA-49pv-gwxp-532rGO-2025-3962

Local File Inclusion in esm.sh

Published Sep 17, 2025 · Updated Sep 17, 2025 · Assigned by GitHub_M

Description

esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a Local File Inclusion (LFI) issue was identified in the esm.sh service URL handling. An attacker could craft a request that causes the server to read and return files from the host filesystem (or other unintended file sources).

Affected products

VendorProductAffectedFixed
esm-dev esm.sh <= 136 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20251023T162509-150000.1.110.1 SUSE-SU-2025:3799-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250924T192141-1.1 openSUSE-SU-2025:15576-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251023T162509-150000.1.110.1 SUSE-SU-2025:3799-1

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/esm-dev/esm.sh <= 136 — GHSA-49pv-gwxp-532r
Go github.com/esm-dev/esm.sh all versions — GO-2025-3962

Advisories 3

References