StraitOfVuln
Latest / CVE-2026-140012

CVE-2026-140012

MediumCVSS 5.3 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-140012
Published / updated
30 Nov 2026, 22:17 UTC · last modified 04 Dec 2026, 15:47 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N · Attack vector: Network
Affected vendor
terser
Affected products
terser
Affected versions
terser: >= 5.0.0, < 5.51.3, < 4.8.2
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.45% probability of exploitation in the next 30 days · 41% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com