Arbitrary Code Injection Affecting github.com/esm-dev/esm.sh/server package, versions <137.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.48% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMESMDEVESMSHSERVER-14073033
  • published21 Nov 2025
  • disclosed19 Nov 2025
  • creditpyozzi-toss

Introduced: 19 Nov 2025

CVE-2025-65026  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/esm-dev/esm.sh/server to version 137.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the CSS-to-JavaScript module conversion feature. An attacker can execute arbitrary JavaScript code by injecting ${...} expressions into CSS files, which are then evaluated when the resulting JavaScript module is imported by victim applications.

CVSS Base Scores

version 4.0
version 3.1