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.
References
Link | Resource |
---|---|
https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-URLJS-2414030 | Exploit Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: snyk
Published: 2022-03-11T00:00:00
Updated: 2022-03-11T20:00:15
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-25839
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-03-11T20:15:09.100
Modified: 2022-03-22T19:31:20.027
Link: CVE-2022-25839
JSON object: View
Redhat Information
No data.
CWE