duzun/URL.js

duzun/URL.js

Releases13
Frequency6 months 1 week
Last Release
Stars14
Parse and format URLs

CVE History

CVEPublishedCVSS v3CVSS v2
4.3 MEDIUM5 MEDIUM

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.