cve.bz

CVE-2022-25839

5.3 mediumEPSS 0.8%

Medium (5.3) in url-js project url-js. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in url-js 2.1.0.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rf54-44jr-q5vfnpmurl-js<2.1.02.1.0

References

Check your stackJSON