{"id":"CVE-2022-1243","published":"2022-04-05T15:05:18Z","modified":"2024-08-02T23:55:24Z","title":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in medialize/uri.js","vendor":"medialize","product":"medialize/uri.js","tier":"tail","description":{"text":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00673,"percentile":0.53067,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://huntr.dev/bounties/8c5afc47-1553-4eba-a98e-024e4cc3dfb7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/medialize/uri.js/commit/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.61},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"medialize","affectedVersions":[{"vendor":"medialize","product":"medialize/uri.js","versions":[">= unspecified, < 1.19.11"]}],"affected":[{"ecosystem":"npm","package":"urijs","vulnerableRanges":["<1.19.11"],"patched":["1.19.11"],"from":["GHSA-3vjf-82ff-p4r3"],"provenance":"source"}],"summary":{"text":"The medialize/uri.js library, a JavaScript URI parsing component, contains an improper input validation flaw in its protocol extraction logic, where carriage return and horizontal tab characters can cause the protocol to be parsed incorrectly; this affects versions prior to 1.19.11. An attacker who can supply a crafted URI to an application using the affected library can potentially cause invalid protocol extraction that may lead to cross-site scripting, requiring only network access and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:59Z"},"euvd":{"id":"EUVD-2022-1612","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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-0868","to":"CVE-2022-1243","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:urijs","fromFixed":"1.19.10","toFixed":"1.19.11","daysApart":30},{"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/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae"],"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"}}