{"id":"EUVD-2022-1531","enisaUuid":"cb2e28fd-497f-3bd8-9443-3548c98b4364","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.","datePublished":"Mar 11, 2022, 8:00:15 PM","dateUpdated":"Sep 16, 2024, 10:35:35 PM","baseScore":4.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P","references":"https://snyk.io/vuln/SNYK-JS-URLJS-2414030\nhttps://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0\n","aliases":"CVE-2022-25839\nGHSA-rf54-44jr-q5vf\n","assigner":"snyk","epss":0.85,"enisaIdProduct":[{"id":"8a2f8fdc-cb6c-34ae-b6ca-2f62cff3bab5","product":{"name":"url-js","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c2.1.0"}],"enisaIdVendor":[{"id":"cbdbb2b3-23ea-3344-bdf7-a8cb96b0c35b","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"8b116047-305b-3448-9592-61d1caf2a759","vulnerability":{"id":"GHSA-rf54-44jr-q5vf","description":"Improper Input Validation in url-js","datePublished":"Mar 12, 2022, 12:00:26 AM","dateUpdated":"Mar 28, 2022, 10:33:07 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2022-25839\nhttps://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0\nhttps://github.com/duzun/URL.js\nhttps://snyk.io/vuln/SNYK-JS-URLJS-2414030\n","enisa_id":"EUVD-2022-1531\n","aliases":"CVE-2022-25839\nGHSA-rf54-44jr-q5vf\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:07:35 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"92c55aef-e425-3fca-9a51-5b3f1df386db","vulnerability":{"id":"CVE-2022-25839","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.","datePublished":"Mar 11, 2022, 8:00:15 PM","dateUpdated":"Sep 16, 2024, 10:35:35 PM","status":"PUBLISHED","baseScore":4.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P","references":"https://snyk.io/vuln/SNYK-JS-URLJS-2414030\nhttps://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0\n","enisa_id":"EUVD-2022-1531\n","assigner":"snyk","epss":0.85,"dataProcessed":"Nov 24, 2026, 7:21:36 AM","vulnerabilityProduct":[{"id":"b082a342-0212-3b37-a9e6-5363cc545f60","product":{"name":"url-js","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c2.1.0"}],"vulnerabilityVendor":[{"id":"0b35ba00-f4f2-3ef8-b628-f2d91f949839","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}