5.3

CVE-2026-140012: Terser: Input sourcemap sourcesContent leaks, revealing input source code

Awaiting analysis
AliasesGHSA-6jpm-p5cq-9q44CGA-257f-fm5f-mh28CGA-2j8w-3vfp-gm4w
Published 30-11-2026Last modified 03-12-2026

Vulnerability summary

CVE-2026-140012 is a medium (CVSS 5.3) vulnerability in terser. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 30-11-2026
    PublishedVulnerability first disclosed.
  2. 03-12-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

01-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard30 products
  • airflow-2All versions (No fix recorded)
  • arangodb-3.11All versions (No fix recorded)
  • arangodb-3.12All versions (No fix recorded)
  • argo-workflows-ui-3.7All versions (No fix recorded) | < 3.7.18-r18
  • cadence-webAll versions (No fix recorded) | < 4.0.18-r5
Debian1 product
  • node-terserAll versions (No fix recorded)
Npm1 product
  • terser< 4.8.2 | ≥ 5.0.0, < 5.51.3
Terser1 product
  • terser≥ 5.0.0, < 5.51.3 | < 4.8.2

4 vendors · 33 products

References

9 links