{"id":"CVE-2022-1233","aliases":["EUVD-2022-1737","GHSA-g694-m8vq-gv9h"],"status":"published","title":"URL Confusion When Scheme Not Supplied in medialize/uri.js","description":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00799,"percentile":0.56818,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-115","CWE-601"],"published":"2022-04-04T19:30:15Z","modified":"2026-10-28T02:30:58Z","fixes":[{"ecosystem":"npm","package":"urijs","fixed_in":["1.19.11"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"urijs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.11"}]}]},{"source":"osv","ecosystem":"npm","package":"urijs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.19.11"}]}]}],"products":[{"vendor":"medialize","product":"medialize/uri.js"},{"vendor":"uri.js_project","product":"uri.js"}],"references":[{"url":"https://huntr.dev/bounties/228d5548-1109-49f8-8aee-91038e88371c","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/medialize/uri.js/commit/88805fd3da03bd7a5e60947adb49d182011f1277","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1233","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g694-m8vq-gv9h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1233.json","tags":["advisory"]},{"url":"https://github.com/medialize/uri.js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-1233","title":"URL Confusion When Scheme Not Supplied in medialize/uri.js","description":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","status":"published","published":"2022-04-04T19:30:15Z","modified":"2024-08-02T23:55:24.574Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-115"],"updated_at":"2026-11-02T14:34:38.581997Z"}],"euvd":[{"id":"EUVD-2022-1737","description":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","status":"published","published":"2022-04-04T19:30:15Z","modified":"2024-08-02T23:55:24Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:26:02.561344Z"}],"ghsa":[{"id":"GHSA-g694-m8vq-gv9h","title":"URL Confusion When Scheme Not Supplied in medialize/uri.js","description":"Medialize is a Javascript URL mutation library. When parsing a URL without a scheme and with excessive slashes, like ///www.example.com, URI.js will parse the hostname as null and the path as /www.example.com. Such behaviour is different from that exhibited by browsers, which will parse ///www.example.com as http://www.example.com instead. For example, the following will cause a redirect to http://www.example.com: A fix was released in version 1.19.11.","status":"published","published":"2022-04-05T00:00:17Z","modified":"2023-01-27T05:01:17Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-115","CWE-601"],"updated_at":"2026-11-02T14:36:16.28305Z"}],"nvd":[{"id":"CVE-2022-1233","description":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","status":"published","published":"2022-04-04T20:15:10.457Z","modified":"2026-06-17T04:22:03.72Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-115","CWE-601"],"updated_at":"2026-11-02T14:07:14.706146Z"}],"osv":[{"id":"CVE-2022-1233","title":"URL Confusion When Scheme Not Supplied in medialize/uri.js","description":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","status":"published","published":"2022-04-04T19:30:15Z","modified":"2026-10-28T02:30:58.63448083Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-115"],"updated_at":"2026-11-02T15:44:23.245966Z"},{"id":"GHSA-g694-m8vq-gv9h","title":"URL Confusion When Scheme Not Supplied in medialize/uri.js","description":"Medialize is a Javascript URL mutation library. When parsing a URL without a scheme and with excessive slashes, like ///www.example.com, URI.js will parse the hostname as null and the path as /www.example.com. Such behaviour is different from that exhibited by browsers, which will parse ///www.example.com as http://www.example.com instead. For example, the following will cause a redirect to http://www.example.com: A fix was released in version 1.19.11.","status":"published","published":"2022-04-05T00:00:17Z","modified":"2023-11-08T04:07:46.588715Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-115","CWE-601"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
