CVE-2022-25839 MEDIUM

CVE-2022-25839: Improper Input Validation

Vendor N/A
Product url-js
Published March 11, 2022
Last update September 16, 2024

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 11, 2022 CVE published
September 16, 2024 Record updated