{"id":"CVE-2022-24723","published":"2022-03-03T20:35:11Z","modified":"2025-04-22T18:20:48Z","title":"Improper Input Validation in URI.js","vendor":"medialize","product":"URI.js","tier":"tail","description":{"text":"URI.js is a Javascript URL mutation library. Before version 1.19.9, whitespace characters are not removed from the beginning of the protocol, so URLs are not parsed properly. This issue has been patched in version 1.19.9. Removing leading whitespace from values before passing them to URI.parse can be used as a workaround.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01941,"percentile":0.80654,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316","tags":["x_refsource_MISC"]},{"url":"https://github.com/medialize/URI.js/releases/tag/v1.19.9","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/","tags":["x_refsource_MISC"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":16.13},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"medialize","affectedVersions":[{"vendor":"medialize","product":"URI.js","versions":["< 1.19.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:41:56.119987Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"urijs","vulnerableRanges":["<1.19.9"],"patched":["1.19.9"],"from":["GHSA-gmv4-r438-p67f"],"provenance":"source"}],"summary":{"text":"The URI.js library (medialize's JavaScript URL mutation library) fails to strip leading whitespace from the protocol before version 1.19.9, so URLs are parsed incorrectly. An attacker able to supply a URL to an affected application can exploit this without authentication or user interaction over the network, with a low-impact integrity effect; the issue is addressed in 1.19.9, and removing leading whitespace from values before passing them to URI.parse is a documented workaround.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:28Z"},"euvd":{"id":"EUVD-2022-1428","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-27516","published":"2021-02-21","fixed":"1.19.6","kev":false},{"cve":"CVE-2021-3647","published":"2021-07-16","fixed":"1.19.7","kev":false},{"cve":"CVE-2022-0613","published":"2022-02-16","fixed":"1.19.8","kev":false,"link":{"from":"CVE-2022-0613","to":"CVE-2022-24723","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:urijs","fromFixed":"1.19.8","toFixed":"1.19.9","daysApart":15},{"kind":"same-code","provenance":"machine","files":["src/URI.js"],"commits":["https://github.com/medialize/uri.js/commit/6ea641cc8648b025ed5f30b090c2abd4d1a5249f","https://github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316"],"basis":"shared file"}]}},{"cve":"CVE-2022-24723","published":"2022-03-03","fixed":"1.19.9","kev":false},{"cve":"CVE-2022-0868","published":"2022-03-06","fixed":"1.19.10","kev":false,"link":{"from":"CVE-2022-24723","to":"CVE-2022-0868","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:urijs","fromFixed":"1.19.9","toFixed":"1.19.10","daysApart":3},{"kind":"same-code","provenance":"machine","files":["src/URI.js"],"commits":["https://github.com/medialize/uri.js/commit/a8166fe02f3af6dc1b2b888dcbb807155aad9509","https://github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316"],"basis":"shared file"}]}},{"cve":"CVE-2022-1233","published":"2022-04-04","fixed":"1.19.11","kev":false},{"cve":"CVE-2022-1243","published":"2022-04-05","fixed":"1.19.11","kev":false}],"package":"npm:urijs"}}