🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7511

Bug#1156383: node-terser: CVE-2026-140012

#7511
From: Moritz Mühlenhoff
Date: Fri, 04 Dec 2026 23:20
33 lines
2850 bytes
Source: node-terser
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for node-terser.

CVE-2026-140012[0]:
| 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.

 https://github.com/terser/terser/security/advisories/GHSA-6jpm-p5cq-9q44
 Fixed by: https://github.com/terser/terser/commit/bab93bde6e2156cdd2fdd27eadc4dffd7362dee3 (v5.51.3)
 Fixed by: https://github.com/terser/terser/commit/a63e814e816405e1d9cad106b1aeaa29c5c12bdc (v4.8.2)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-140012
    https://www.cve.org/CVERecord?id=CVE-2026-140012

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <O6KJj-g1tH-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156383: node-terser: CVE-2026-140012
Date: Sat, 05 Dec 2026 00:20:01 +0100
Message-ID: <O6KJj-g1tH-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 23:18:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1156383@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, pkg-javascript-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1156383
X-Debian-Pr-Package: src:node-terser
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: node-terser
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2007037
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 33
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 5 Dec 2026 00:15:54 +0100
X-Original-Message-ID: <axNJquBK8U6Awls7@pisco.westfalen.local>