Security mailing lists by PureSourceCode

CVE-2025-65026

CRITICAL 9.6CVSS 3.1

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.

Published
19 Nov 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79CWE-94
Also known as
GHSA-hcpf-qv9m-vfgpGO-2025-4139
Sources
NVDJSONOSV GHSA-hcpf-qv9m-vfgpJSONOSV GO-2025-4139JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD esm esm.sh
cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:*
< 136 136
OSV Go github.com/esm-dev/esm.sh < 0.0.0-20251118065157-87d2f6497574 0.0.0-20251118065157-87d2f6497574

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 19 Nov 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.