SCA: security update for serialize-javascript (GHSA-76p7-773f-r4q5)

medium Tenable Self-Hosted Container Security Plugin ID 420868

Description

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

- A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript
module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing
an attacker to inject malicious code. This code could be executed when deserialized by a web browser,
causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data
is sent to web clients, potentially compromising the security of the website or web application using this
package. (CVE-2024-11831)

Solution

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

See Also

https://github.com/advisories/GHSA-76p7-773f-r4q5

Plugin Details

Severity: Medium

ID: 420868

Version: Revision 1.23

Type: Local

Family: SCA Checks

Published: 2/11/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: 9.3

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2024-11831

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/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: 2/10/2025

Vulnerability Publication Date: 2/10/2025

Reference Information

CVE: CVE-2024-11831

cwe: CWE-79