CVE-2022-25839
Medium
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.
SeverityMedium
CVSS4.3
Exploit probability—
ProductUrl-js
PublishedMar 11, 2022
First seenMar 11, 2022
How to fix
Update
- url-js_project url-js2.1.0 or later
- url-js2.1.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| url-js_project url-js | v < 2.1.0 | 2.1.0 |
| url-jsnpm | v < 2.1.0 | 2.1.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.