CVE-2022-25839

published 11 Mar 2022 · updated 16 Sep 2024

Improper Input Validation

4.3MediumCVSS 4.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<2.1.02.1.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-25839 severity on Zeptric[![CVE-2022-25839](https://zeptric.io/badge/cve/CVE-2022-25839.svg)](https://zeptric.io/cve/CVE-2022-25839)