CVE-2022-25839 – url-js
Package
Manager: npm
Name: url-js
Vulnerable Version: >=0 <2.1.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00205 pctl0.42754
Details
Improper Input Validation in url-js The package url-js before 2.1.0 is 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.
Metadata
Created: 2022-03-12T00:00:26Z
Modified: 2022-03-28T22:33:07Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-rf54-44jr-q5vf/GHSA-rf54-44jr-q5vf.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-rf54-44jr-q5vf
Finding: F184
Auto approve: 1