Read the docs
TI-2022-09408 Aliases CVE-2022-25839GHSA-rf54-44jr-q5vf

Improper input validation in url-js

Priority LOW 26CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.00849 58th percentileScored 2026-11-07
Fix Fixed url-js: 2.1.0url-js (npm): 2.1.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—url-jsbefore 2.1.02.1.0Patch availableCNA
—url-js (npm)before 2.1.02.1.0Patch availableGHSA-rf54-44jr-q5vf
  • url-js Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
  • url-js (npm) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-rf54-44jr-q5vf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:url-js_project:url-js:*:*:*:*:*:node.js:*:*before 2.1.0VulnerableUrl-js Project
  • cpe:2.3:a:url-js_project:url-js:*:*:*:*:*:node.js:*:* Versions before 2.1.0 Vulnerable ·Url-js Project

Remediation

  • Fix · CNA url-js Fixed in 2.1.0
  • Fix · GHSA-rf54-44jr-q5vf url-js (npm) Fixed in 2.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25839
  2. 2026-10-03 Alias added: GHSA-rf54-44jr-q5vf

References

Sources