Remote code executionin esm-dev esm.sh.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
esm.sh is a nobuild content delivery network(CDN) for modern web development. Prior to version 136, The esm.sh CDN service contains a Template Literal Injection vulnerability (CWE-94) in its CSS-to-JavaScript module conversion feature. When a CSS file is requested with the ?module query parameter, esm.sh converts it to a JavaScript module by embedding the CSS content directly into a template literal without proper sanitization. An attacker can inject malicious JavaScript code using ${...} expressions within CSS files, which will execute when the module is imported by victim applications. This enables Cross-Site Scripting (XSS) in browsers and Remote Code Execution (RCE) in Electron applications. This issue has been patched in version 136.
- Upgrade esm.sh to 136 or later.
- Upgrade github.com/esm-dev/esm.sh (Go) to 0.0.0-20251118065157-87d2f6497574 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 13 Nov 2025CVE ID reserved by GitHub_M.
- 19 Nov 2025Published in the CVE List.
- 20 Nov 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other esm.sh vulnerabilities
Same weakness: Code injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2025-65026: Remote code execution in esm-dev esm.sh. https://patchminder.com/cve/cve-2025-65026/ (accessed 5 December 2026).