PT-2026-164401

CVE-2026-140012

·

Published

2026-11-30

·

Updated

2026-12-01

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Terser versions prior to 4.8.2 Terser versions 5.0.0 through 5.51.2
Description A flaw exists in the minify() function when an input source map is provided via the sourceMap.content option. The software incorrectly copies the sourcesContent of that map into the generated source map, even if the includeSources option is set to false. This allows anyone with access to the generated source map to view the original source code, potentially exposing comments, constants, or embedded secret tokens.
Recommendations Update to version 4.8.2. Update to version 5.51.3. Rotate any credentials that may have been exposed through the source maps.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-6JPM-P5CQ-9Q44
Found an issue in the description? Have something to add? Feel free to write us 👾