Information Exposure Through Source Code Affecting node-terser package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.45% (41st 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-ECHOLATEST-NODETERSER-23729893
  • published4 Dec 2026
  • disclosed30 Nov 2026

Introduced: 30 Nov 2026

NewCVE-2026-140012  (opens in a new tab)
CWE-540  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest node-terser.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-terser package and not the node-terser package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Terser is a JavaScript parser, mangler, and compressor toolkit for ES6+. Prior to 4.8.2, and from 5.0.0 to before 5.51.3, when minify() is given an input source map through the sourceMap.content option, Terser copies that map's sourcesContent into the generated source map even when includeSources is false. Anyone who receives the generated source map can read the original source code, which may include comments, constants, or embedded secret tokens. This issue is fixed in versions 4.8.2 and 5.51.3.