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.
{ "nvd_published_at": "2022-03-11T20:15:00Z", "github_reviewed_at": "2022-03-14T23:28:46Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [ "CWE-20" ] }