Improper input validation in Url-Js Project

CVE-2022-25839

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.008 (55.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-25839?
CVE-2022-25839 is a medium-severity vulnerability in Url-Js Project, classified under Improper Input Validation. CVSS score: 4.3/10. Published 2022-03-11.
How severe is CVE-2022-25839?
Medium severity. CVSS v3 base score is 4.3 out of 10.