CVE-2022-25839
Summary
| CVE | CVE-2022-25839 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-11 20:15:00 UTC |
| Updated | 2022-03-22 19:31:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-20
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Url-js Project | Url-js | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Improper Input Validation in url-js | CVE-2022-25839 | Snyk | CONFIRM | snyk.io | |
| Fix potential vulnerability for "http://\\\\localhost" · duzun/URL.js@9dc9fcc · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Pocas
There are currently no legacy QID mappings associated with this CVE.