{"id":"CVE-2022-31193","summary":"URL Redirection to Untrusted Site in Dspace JSPUI","details":"DSpace open source software is a repository application which provides durable access to digital resources. dspace-jspui is a UI component for DSpace. The JSPUI controlled vocabulary servlet is vulnerable to an open redirect attack, where an attacker can craft a malicious URL that looks like a legitimate DSpace/repository URL. When that URL is clicked by the target, it redirects them to a site of the attacker's choice. This issue has been patched in versions 5.11 and 6.4. Users are advised to upgrade. There are no known workaround for this vulnerability.","aliases":["GHSA-763j-q7wv-vf3m"],"modified":"2026-10-28T10:28:05.961442596Z","published":"2022-08-01T20:25:12Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31193.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31193.json"},{"type":"ADVISORY","url":"https://github.com/DSpace/DSpace/security/advisories/GHSA-763j-q7wv-vf3m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31193"},{"type":"FIX","url":"https://github.com/DSpace/DSpace/commit/5f72424a478f59061dcc516b866dcc687bc3f9de"},{"type":"FIX","url":"https://github.com/DSpace/DSpace/commit/f7758457b7ec3489d525e39aa753cc70809d9ad9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dspace/dspace","events":[{"introduced":"0fea17436854acf9048b0e11fbf988333ea02956"},{"fixed":"66647c7bf939b202a4872d4c5ebda23bc62e807f"},{"introduced":"d34e7b89a30b5ffd35556d6fe8936e5d8659415d"},{"fixed":"d1795b598aa78c37cade6fbc83c8e4141f865a6e"},{"fixed":"5f72424a478f59061dcc516b866dcc687bc3f9de"},{"fixed":"f7758457b7ec3489d525e39aa753cc70809d9ad9"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"6.0"},{"fixed":"6.4"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"4.0"},{"fixed":"5.11"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5f72424a478f59061dcc516b866dcc687bc3f9de"}]},{"range":[{"fixed":"f7758457b7ec3489d525e39aa753cc70809d9ad9"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["dspace-5.10","dspace-6.3","dspace-5.9","dspace-6.2","dspace-5.8","dspace-6.1","dspace-5.7","dspace-5.6","dspace-6.0","dspace-5.5","dspace-5.4","dspace-5.3","dspace-5.0","dspace-5.2","dspace-5.1","dspace-5.0-rc3","dspace-5.0-rc2","dspace-5.0-rc1","dspace-4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31193.json","vanir_signatures":[{"source":"https://github.com/dspace/dspace/commit/5f72424a478f59061dcc516b866dcc687bc3f9de","target":{"file":"dspace-jspui/src/main/java/org/dspace/app/webui/servlet/ControlledVocabularyServlet.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["194256693938643061146082747784343617780","74097944488310406589478838007677848881","274268665387351830738484623536498219154","8206378877108847774533840159145203315","146508925465581470121161005701242566557","140751182846231614761886246628891142077","70468589860306572260587328004349284239","291195736580888230876166404512085943559","206362487785960115410173619202220527132"]},"id":"CVE-2022-31193-07f0f981","signature_type":"Line","signature_version":"v1"},{"deprecated":false,"digest":{"length":554,"function_hash":"119780573979426861905177072604783249930"},"id":"CVE-2022-31193-1b7d076c","signature_type":"Function","signature_version":"v1","source":"https://github.com/dspace/dspace/commit/5f72424a478f59061dcc516b866dcc687bc3f9de","target":{"file":"dspace-jspui/src/main/java/org/dspace/app/webui/servlet/ControlledVocabularyServlet.java","function":"doDSGet"}},{"deprecated":false,"digest":{"line_hashes":["194256693938643061146082747784343617780","74097944488310406589478838007677848881","274268665387351830738484623536498219154","8206378877108847774533840159145203315","146508925465581470121161005701242566557","140751182846231614761886246628891142077","70468589860306572260587328004349284239","291195736580888230876166404512085943559","206362487785960115410173619202220527132"],"threshold":0.9},"id":"CVE-2022-31193-476b8510","signature_type":"Line","signature_version":"v1","source":"https://github.com/dspace/dspace/commit/f7758457b7ec3489d525e39aa753cc70809d9ad9","target":{"file":"dspace-jspui/src/main/java/org/dspace/app/webui/servlet/ControlledVocabularyServlet.java"}},{"signature_version":"v1","source":"https://github.com/dspace/dspace/commit/f7758457b7ec3489d525e39aa753cc70809d9ad9","target":{"file":"dspace-jspui/src/main/java/org/dspace/app/webui/servlet/ControlledVocabularyServlet.java","function":"doDSGet"},"deprecated":false,"digest":{"function_hash":"119780573979426861905177072604783249930","length":554},"id":"CVE-2022-31193-85275fcc","signature_type":"Function"}],"vanir_signatures_modified":"2026-10-28T10:28:05Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"}]}