PoC Monitor
← All CVEs
CVE-2025-65026published 19 Nov 2025 17:33 UTCData: JSON · API

Esm-dev esm.sh

esm.sh CDN service has JS Template Literal Injection in CSS-to-JavaScript

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.6critical · scored by NVD · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

esm-dev esm.sh
  • < 136

Fixed in 136

Mitigation

Upgrade esm.sh to 136 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Nov 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.