CVE-2022-25839

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
11/03/2022
Last modified:
22/03/2022

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:url-js_project:url-js:*:*:*:*:*:node.js:*:* 2.1.0 (excluding)