CVE-2022-25839
4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | url-js | unspecified < 2.1.0 | affected |
Weaknesses
- Improper Input Validation
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-URLJS-2414030
- https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0
References
- https://snyk.io/vuln/SNYK-JS-URLJS-2414030
- https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.