{"id":"CVE-2022-1233","aliases":["CVE-2022-1233","GHSA-g694-m8vq-gv9h"],"related":[],"kind":"vulnerability","state":"published","title":"URL Confusion When Scheme Not Supplied in medialize/uri.js","summary":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una Confusión de URL cuando no es proporcionado el esquema en el repositorio de GitHub medialize/uri.js versiones anteriores a 1.19.11","source":"nvd"}],"published":"2022-04-04T19:30:15.000Z","modified":"2026-06-17T04:22:03.720Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-115","CWE-601"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.19.11","status":"affected"}],"vendor":"medialize","product":"medialize/uri.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.11"}],"ecosystem":"npm","package":"urijs","purl":"pkg:npm/urijs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.19.11"}],"vendor":"uri.js_project","product":"uri.js","cpe":"cpe:2.3:a:uri.js_project:uri.js:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/228d5548-1109-49f8-8aee-91038e88371c","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/medialize/uri.js/commit/88805fd3da03bd7a5e60947adb49d182011f1277","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1233","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/medialize/uri.js","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1233","url":"https://www.cve.org/CVERecord?id=CVE-2022-1233","licence":"CVE Terms of Use","modified":"2024-08-02T23:55:24.574Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g694-m8vq-gv9h","url":"https://github.com/advisories/GHSA-g694-m8vq-gv9h","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:46.588Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1233","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1233","licence":"Public domain","modified":"2026-06-17T04:22:03.720Z"}],"updatedAt":"2026-11-25T22:58:10.406Z","epss":{"score":0.00799,"percentile":0.57761,"date":"2026-12-02T12:00:21.000Z"}}