SCA: security update for serialize-to-js (GHSA-3fjq-93xj-3f3f)

medium Tenable Self-Hosted Container Security Plugin ID 423332

Description

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

- The serialize-to-js NPM package before version 3.0.1 is vulnerable to Cross-site Scripting (XSS). It does
not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is
not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString()
backslash-escapes all forward slashes in regular expressions. If serialized data of regular expression
objects are used in an environment other than Node.js, it is affected by this vulnerability.
(CVE-2019-16772)

See Also

https://github.com/advisories/GHSA-3fjq-93xj-3f3f

Plugin Details

Severity: Medium

ID: 423332

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 3/29/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2019-16772

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/6/2019

Vulnerability Publication Date: 12/6/2019

Reference Information

CVE: CVE-2019-16772

cwe: CWE-79