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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:url-js_project:url-js:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2022-03-11 20:15

Updated : 2024-02-28 19:09


NVD link : CVE-2022-25839

Mitre link : CVE-2022-25839

CVE.ORG link : CVE-2022-25839


JSON object : View

Products Affected

url-js_project

  • url-js
CWE
CWE-20

Improper Input Validation