{"id":"GHSA-rf54-44jr-q5vf","revision":"d98dfecb02254533ba2b701c94f934ab","records":[{"revision":"d98dfecb02254533ba2b701c94f934ab","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rf54-44jr-q5vf","aliases":["CVE-2022-25839","SNYK-JS-URLJS-2414030"],"title":"Improper Input Validation in url-js","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.","state":0,"publishedAt":"2022-03-12T00:00:26+00:00","modifiedAt":"2026-07-08T06:49:35.0093528+00:00","affected":[{"ecosystem":"npm","name":"url-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-25839","https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0","https://github.com/duzun/URL.js","https://snyk.io/vuln/SNYK-JS-URLJS-2414030"],"sourceUrl":"https://github.com/advisories/GHSA-rf54-44jr-q5vf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rf54-44jr-q5vf","identifiers":["GHSA-rf54-44jr-q5vf","CVE-2022-25839","SNYK-JS-URLJS-2414030"]},"retained":false,"historicalAffected":[]}],"coverage":[]}