Vulnerability

CVE-2022-25839

mediumCVSS 3.1 5.3Published 11 Mar 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Url Js Project url-js

Weakness type

References

  • github.com /duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121…
  • snyk.io /vuln/SNYK-JS-URLJS-2414030

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning