BreachSpiderVerified, not vibes

CVE-2025-59341 in Modern products

No CVSS score published

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

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS v47.7
EPSS1.8%
EPSS percentile79th
FixUnknown

Affected products and versions

VendorProductAffected versions
Modern — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-59341
BreachSpider IDBS-2025-GLOBAL-298986-I
Published2025-09-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-23: CWE-23

Related attack patterns (CAPEC)

CAPEC-76 Manipulating Web Input to File System Calls via CWE-23

CAPEC-139 Relative Path Traversal via CWE-23

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A Local File Inclusion (LFI) vulnerability was identified in esm.sh versions 136 and earlier, allowing attackers to read and return files from the host filesystem.

An attacker can craft a malicious request to the esm.sh service URL, which can lead to the server reading and returning files from the host filesystem or other unintended file sources.

Questions

What is CVE-2025-59341?

A Local File Inclusion (LFI) vulnerability was identified in esm.sh versions 136 and earlier, allowing attackers to read and return files from the host filesystem.

Is CVE-2025-59341 actively exploited?

No confirmed active exploitation of CVE-2025-59341 as of 2026-09-25.

How do I remediate CVE-2025-59341?

Priority: HIGH.

What systems are affected by CVE-2025-59341?

CVE-2025-59341 affects Modern.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Modern","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.