SCA: security update for github.com/esm-dev/esm.sh (GHSA-hcpf-qv9m-vfgp)

critical Tenable Cloud Security Plugin ID 436117

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-65026)

See Also

https://github.com/advisories/GHSA-hcpf-qv9m-vfgp

Plugin Details

Severity: Critical

ID: 436117

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 11/20/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.4

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-65026

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/19/2025

Vulnerability Publication Date: 11/19/2025

Reference Information

CVE: CVE-2025-65026

cwe: CWE-94