Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / url-js | affected unspecified before 2.1.0 |
CWE
No CWE identifiers supplied.
References
- https://snyk.io/vuln/SNYK-JS-URLJS-2414030
- https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0
ADP enrichment
No English description supplied.