CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022

CVE-2022-25839
Url-js Project Url-js vulnerability

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

Url-js. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Url-js Project Url-js runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.