url-js
Affected
- introduced
0, fixed2.1.0(semver)
Fixed versions
2.1.0
Fix
- Fixed version
2.1.0npm install [email protected]
Advisory
Also known as: CVE-2022-25839, SNYK-JS-URLJS-2414030
Improper Input Validation in url-js
The package url-js before 2.1.0 is 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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.1.0 (semver)2.1.0
2.1.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0