Skip to content
CVE PROGRAM SOURCE RECORD4.3 Medium

CVE-2022-25839

Improper Input Validation

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a url-js

  • unspecified to < 2.1.0affected

References