CVE-2025-65026CRITICAL 9.6EPSS p34.8%

CVE-2025-65026CVE-2025-65026

Description

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.

Scoring

CVSS 3.19.6 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS0.44% probability of exploitation · percentile 34.8% · 2026-06-19T12:03:05Z
Published2025-11-19
Last modified2026-01-15

Underlying weaknesses· 2

CWE-94CWE-79

References

  1. https://github.com/esm-dev/esm.sh/commit/87d2f6497574bf4448641a5527a3ac2beba5fd6c
  2. https://github.com/esm-dev/esm.sh/security/advisories/GHSA-hcpf-qv9m-vfgp
  3. https://github.com/esm-dev/esm.sh/security/advisories/GHSA-hcpf-qv9m-vfgp

2

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')cwe-790%live
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-65025
CVE
CVE-2026-44593
CVE
CVE-2025-49400
CVE
CVE-2026-42681
CVE
CVE-2025-1763
CVE
CVE-2026-48250
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.