{"id":"CVE-2022-31040","summary":"Open Redirect in open-forms","details":"Open Forms is an application for creating and publishing smart forms. Prior to versions 1.0.9 and 1.1.1, the cookie consent page in Open Forms contains an open redirect by injecting a `referer` querystring parameter and failing to validate the value. A malicious actor is able to redirect users to a website under their control, opening them up for phishing attacks. The redirect is initiated by the open forms backend which is a legimate page, making it less obvious to end users they are being redirected to a malicious website. Versions 1.0.9 and 1.1.1 contain patches for this issue. There are no known workarounds avaialble.","aliases":["GHSA-c97h-m5qf-j8mf"],"modified":"2026-03-20T12:02:56.760133Z","published":"2022-06-13T12:10:10Z","database_specific":{"cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31040.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31040.json"},{"type":"ADVISORY","url":"https://github.com/open-formulieren/open-forms/security/advisories/GHSA-c97h-m5qf-j8mf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31040"},{"type":"FIX","url":"https://github.com/open-formulieren/open-forms/commit/3e8c9cce386e548765783354694fbb9d7a6ea7d3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-formulieren/open-forms","events":[{"introduced":"0"},{"fixed":"d814706ce62c6dde4c262a94b5a7314ffe634736"}]}],"versions":["1.0.0","1.0.0-rc.0","1.0.0-rc.1","1.0.0-rc.2","1.0.0-rc.3","1.0.0-rc.4","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.1.0","1.1.0-rc.0","1.1.0-rc.1","POC","before-sdk","demodam","eherkenning-test-4","issue-1428","logius-report","mvp","sprint-10","sprint-11","sprint-4","sprint-5","sprint-6","sprint-7","sprint-8","sprint-9","still-functional","tag-push-test"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31040.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N"}]}