CVE-2022-25839: Url-Js Project Url-Js

Medium severity, CVSS 5.3. EPSS: 0.8% chance of exploitation in the next 30 days.

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 products

Published 2022-03-11. Last modified 2026-06-17.