CVE-2022-25839

Improper Input Validation

State
Published
Severity
4.3 Medium
Published
Mar 11, 2022
Updated
Sep 16, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:Psnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
url-jsn/a
  • before 2.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.