SCA: security update for serialize-javascript (GHSA-m5mm-p8h7-m29v)

low Tenable Self-Hosted Container Security Plugin ID 477231

Description

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

- Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions
and functions. Prior to 7.1.3, the function-source escaping logic does not neutralize a bare closing-
script prefix when attacker-influenced function source text ends exactly at that prefix. Because each
function body is escaped independently, a delimiter supplied by surrounding serialized output can
terminate an HTML script element, and a later serialized value supplies injected markup that becomes a
live element in the page. Exploitation requires control of a serialized function's source text, such as
through a spoofed toString(). This issue is fixed in version 7.1.3. (CVE-2026-115897)

Solution

Update the serialize-javascript library and its related packages to version 7.1.3 or later.

See Also

https://github.com/advisories/GHSA-m5mm-p8h7-m29v

Plugin Details

Severity: Low

ID: 477231

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/24/2026

Updated: 10/24/2026

Risk Information

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-2026-115897

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

CVSS v4

Risk Factor: Low

Base Score: 2.1

Threat Score: 0.5

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/23/2026

Vulnerability Publication Date: 10/23/2026

Reference Information

CVE: CVE-2026-115897

cwe: CWE-79