SCA: security update for url-js (GHSA-rf54-44jr-q5vf)

medium Tenable Cloud Security Plugin ID 418688

Description

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

- The package url-js before 2.1.0 are vulnerable to Improper Input Validation due to improper parsing, which
makes it is possible for the hostname to be spoofed. http://\\\\\\\\localhost and http://localhost are the
same URL. However, the hostname is not parsed as localhost, and the backslash is reflected as it is.
(CVE-2022-25839)

See Also

https://github.com/advisories/GHSA-rf54-44jr-q5vf

Plugin Details

Severity: Medium

ID: 418688

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2022-25839

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/12/2022

Vulnerability Publication Date: 3/11/2022

Reference Information

CVE: CVE-2022-25839

cwe: CWE-20