S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Apr 21, 2026

CVE-2025-59341 Scanner

CVE-2025-59341 Scanner - Local File Inclusion (LFI) vulnerability in esm.sh

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
3k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-59341
7.7
CVSShigh
Exploitable remotely over the internet · no authentication required.

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).

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
esm.shby esm-dev
<= 136
Updated Aug 22, 2026View on NVD →
Detail

esm.sh is a popular JavaScript content delivery network (CDN) used for importing modules in various web development projects. It is commonly utilized by web developers to fetch JavaScript libraries and modules directly into their projects. This service allows developers to quickly integrate third-party modules without worrying about the build process. With its support for a range of JavaScript versions, esm.sh facilitates the rapid development and deployment of web applications. The platform aims to simplify module imports, enhancing both the development experience and application performance. esm.sh sees widespread use in both personal and enterprise-level projects due to its ease of use and comprehensive module support.

The vulnerability in question is a Local File Inclusion (LFI) which affects esm.sh. This issue arises from improper URL handling, allowing attackers to read arbitrary files from the host filesystem remotely. The vulnerability does not require authentication, making it particularly concerning. Attackers can exploit this flaw by crafting specific requests that navigate and access system files. Successful exploitation could lead to unauthorized access and disclosure of sensitive information. The vulnerability is significant due to its potential impact and ease of exploitation if the system is not updated.

The LFI vulnerability is specifically triggered by sending a crafted HTTP request to the vulnerable server. By structuring a request that navigates through the server file system, attackers can access critical files such as '/etc/passwd'. This improper handling of URLs permits unauthorized file reading outside the web root directory. The vulnerable endpoint involves appendages of path traversal sequences in requests to access sensitive system files. As per reported cases, the 'matchers' detect successful exploitation by searching for specific patterns in the server's response, indicating file content disclosure.

Exploitation of this LFI vulnerability can have several severe consequences. Attackers may gain access to sensitive files, such as configuration files, passwords, or other sensitive data. This unauthorized access could lead to further attacks, including privilege escalation or data theft. Additionally, disclosure of sensitive server information can assist attackers in planning more sophisticated attacks. The exposure of such data increases the risk of compromised accounts and unauthorized system access, undermining the overall security posture of the affected systems.

REFERENCES

Solution Advice
  • Upgrade esm.sh to a version later than 136 or the latest available version to mitigate this vulnerability.
  • Implement strict URL validation and sanitation to prevent path traversal sequences.
  • Restrict access to sensitive files and ensure proper file permissions are in place.
  • Conduct regular security audits and apply updates from the vendor to ensure all known vulnerabilities are patched.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.