CVE-2022-25839
Improper Input Validation in url-js
5.3
MEDIUM
CVSS 3.1
EPSS 0.21%
Description
The package url-js before 2.1.0 is 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.
How to fix CVE-2022-25839
To remediate CVE-2022-25839, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.0 or later
Is CVE-2022-25839 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |