Answer in brief
CVE-2026-140012 records a Medium severity (CVSS 5.3) vulnerability in Terser: Input sourcemap sourcesContent leaks, revealing input source code. The current sources do not mark it as known exploited. The current feed maps terser/terser (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.3. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps terser/terser (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| terser/tersergeneric | >=5.0.0 <5.51.3 || <4.8.2 | 4.8.2, 5.51.3 |
Published upstream
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Nov 30, 2026
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.
Quoted source text, attributed separately from HOL analysis.