Arbitrary Code Injection Affecting github.com/esm-dev/esm.sh/server package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMESMDEVESMSHSERVER-14073033
  • published21 Nov 2025
  • disclosed19 Nov 2025
  • creditpyozzi-toss

Introduced: 19 Nov 2025

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

How to fix?

A fix was pushed into the master branch but not yet published.

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