CVE-2022-25839 Improper Input Validation
MediumCVSS 5.3
EPSS 0.85%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm url-js(npm) | < 2.1.0 | 2.1.0 | Fixed |
| url-js project url-js | < 2.1.0 | 2.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm url-js(npm) | < 2.1.0 | 2.1.0 |
| url-js project url-js | < 2.1.0 | 2.1.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- github.com
- github.com product