CVE-2022-25839
Dashboard / Vulnerabilities / CVE-2022-25839
CVE-2022-25839
Published: 11 Mar 2022Last Modified: 21 Oct 2026
Summary: Improper Input Validation
Details: 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: https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25839.json, https://nvd.nist.gov/vuln/detail/CVE-2022-25839, https://snyk.io/vuln/SNYK-JS-URLJS-2414030, https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v2.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
