SCA: security update for terser (GHSA-6jpm-p5cq-9q44)

medium Tenable Self-Hosted Container Security Plugin ID 489449

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-140012)

Solution

Update the terser library and its related packages to version 4.8.2 or later.

See Also

https://github.com/advisories/GHSA-6jpm-p5cq-9q44

Plugin Details

Severity: Medium

ID: 489449

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/2/2026

Updated: 12/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-140012

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 11/30/2026

Reference Information

CVE: CVE-2026-140012

cwe: CWE-540