{"id":"GHSA-3vjf-82ff-p4r3","revision":null,"records":[{"revision":"d896299acbd7402b8d0ff24b75e7c9ad","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2022-1243","aliases":[],"title":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in medialize/uri.js","description":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.","state":0,"publishedAt":"2022-04-05T15:05:18+00:00","modifiedAt":"2024-08-02T23:55:24.671+00:00","affected":[{"ecosystem":"Vendor product","name":"medialize/uri.js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"medialize/uri.js\",\n                    \"vendor\": \"medialize\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"1.19.11\",\n                            \"status\": \"affected\",\n                            \"version\": \"unspecified\",\n                            \"versionType\": \"custom\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"severity":"HIGH"}],"references":["https://huntr.dev/bounties/8c5afc47-1553-4eba-a98e-024e4cc3dfb7","https://github.com/medialize/uri.js/commit/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-1243","license":"CVE Program Terms of Use","key":"cve-program:CVE-2022-1243","identifiers":["CVE-2022-1243"]},"retained":false,"historicalAffected":[]},{"revision":"dd857e46a393436abaedbb349170b724","observedAt":"2026-11-26T09:04:13.683+00:00","statement":{"source":"euvd","id":"EUVD-2022-1612","aliases":["CVE-2022-1243","GHSA-3vjf-82ff-p4r3"],"title":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.","description":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"severity":null}],"references":["https://huntr.dev/bounties/8c5afc47-1553-4eba-a98e-024e4cc3dfb7","https://github.com/medialize/uri.js/commit/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1612","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 5, 2022, 3:05:18 PM","dateUpdated":"Aug 2, 2024, 11:55:24 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-1612","identifiers":["EUVD-2022-1612","CVE-2022-1243","GHSA-3vjf-82ff-p4r3"]},"retained":false,"historicalAffected":[]},{"revision":"6fc72b1c274c410ea3c429b897ac5ce7","observedAt":"2026-10-24T19:17:43.386+00:00","statement":{"source":"nvd","id":"CVE-2022-1243","aliases":[],"title":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.","description":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.","state":0,"publishedAt":"2022-04-05T15:15:08.097+00:00","modifiedAt":"2026-06-17T04:22:04.813+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"},{"system":"CVSS 3.0 · security@huntr.dev · Secondary","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"severity":"MEDIUM"}],"references":["https://github.com/medialize/uri.js/commit/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae","https://huntr.dev/bounties/8c5afc47-1553-4eba-a98e-024e4cc3dfb7"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-1243","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-20","NVD-CWE-Other"],"productCriteria":["cpe:2.3:a:uri.js_project:uri.js:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2022-04-05T15:15:08.097","lastModified":"2026-06-17T04:22:04.813"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2022-1243","identifiers":["CVE-2022-1243"]},"retained":false,"historicalAffected":[]},{"revision":"b06b3db7f4554df7a90f7bfefe32c9e7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-3vjf-82ff-p4r3","aliases":["CVE-2022-1243"],"title":"Incorrect protocol extraction via \\r, \\n and \\t characters","description":"\\r, \\n and \\t characters in user-input URLs can potentially lead to incorrect protocol extraction when using npm package urijs prior to version 1.19.11.\n\nThis can lead to XSS when the module is used to prevent passing in malicious javascript: links into HTML or Javascript (see following example):\n````\nconst parse = require('urijs')\nconst express = require('express')\nconst app = express()\nconst port = 3000\n\ninput = \"ja\\r\\nvascript:alert(1)\"\nurl = parse(input)\n\nconsole.log(url)\n\napp.get('/', (req, res) => {\n if (url.protocol !== \"javascript:\") {res.send(\"<iframe src=\\'\" + input + \"\\'>CLICK ME!</iframe>\")}\n})\n\napp.listen(port, () => {\n console.log(`Example app listening on port ${port}`)\n})\n````","state":0,"publishedAt":"2022-04-06T00:01:31+00:00","modifiedAt":"2023-11-08T04:07:46.77816+00:00","affected":[{"ecosystem":"npm","name":"urijs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.19.11"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-1243","https://github.com/medialize/uri.js/commit/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae","https://github.com/medialize/uri.js","https://huntr.dev/bounties/8c5afc47-1553-4eba-a98e-024e4cc3dfb7"],"sourceUrl":"https://github.com/advisories/GHSA-3vjf-82ff-p4r3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3vjf-82ff-p4r3","identifiers":["GHSA-3vjf-82ff-p4r3","CVE-2022-1243"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-26T18:19:45.5192966+00:00","complete":true,"records":1805,"lastAttemptAt":"2026-11-26T18:19:45.5192966+00:00","lastSuccessAt":"2026-11-26T18:19:45.8176546+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:19:45.8176554+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6c06d3f6833d772c3de33e851d9e5d9e99615d8105cd679264137594221ef608-16649824cb5685fd2fa7e710d6fda691d7b1a30326607059379232e4ae91e6a1","complete":true,"records":432938,"lastAttemptAt":"2026-11-26T18:16:26.4500222+00:00","lastSuccessAt":"2026-11-26T18:16:26.3473332+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:16:26.4500222+00:00","snapshotPublishedAt":"2026-11-26T17:28:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-34024d1d0aa343f9a11653df650f2330","complete":false,"records":13940,"lastAttemptAt":"2026-11-26T18:21:44.6641856+00:00","lastSuccessAt":"2026-11-26T18:21:44.659+00:00","error":"115 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-26T18:21:44.659+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13855,"expectedIdentifiers":13988,"failedIdentifiers":115},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-26T18:19:45.5192966+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-26T18:19:45.5192966+00:00","lastSuccessAt":"2026-11-26T18:19:45.818368+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:19:45.8183682+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-88cb876cf6dd489fab2ce6295359cee4","complete":false,"records":13952,"lastAttemptAt":"2026-11-26T18:20:12.5726233+00:00","lastSuccessAt":"2026-11-26T18:20:12.569+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:20:12.569+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13490,"expectedIdentifiers":13988,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e56c3fe761407ec267ebd1a0c84aedc80ac3bdb205176e189d97dc2e8a05779b","complete":true,"records":10077,"lastAttemptAt":"2026-11-26T18:19:45.0762118+00:00","lastSuccessAt":"2026-11-26T11:17:21.3788523+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:19:45.0762118+00:00","snapshotPublishedAt":"2026-11-26T11:03:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-26T18:16:26.6124682+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:16:26.6124682+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-fffef56e2e70c77cb72f3bdafb9a1d8f09e5da49f03183f085255cda1efc5924","complete":true,"records":3223,"lastAttemptAt":"2026-11-26T18:19:45.4620256+00:00","lastSuccessAt":"2026-11-26T09:00:18.6655097+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:19:45.4620256+00:00","snapshotPublishedAt":"2026-11-26T08:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-fe40fe209174d1458c63ab2d652015cb334e7187bf3ddd751c1b09d25b9064d4","complete":true,"records":233162,"lastAttemptAt":"2026-11-26T18:19:44.9129718+00:00","lastSuccessAt":"2026-11-26T18:19:43.6480553+00:00","error":null,"lastVerifiedAt":"2026-11-26T18:19:44.9129718+00:00","snapshotPublishedAt":"2026-11-26T17:33:43+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}