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.
{
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25839.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:url-js_project:url-js:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9dc9fcc99baa4cbda24403d81a589e9b0f4121d0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}