{"id":"CVE-2024-22400","summary":"Open redirect in user_saml via RelayState parameter in Nextcloud User Saml","details":"Nextcloud User Saml is an app for authenticating Nextcloud users using SAML. In affected versions users can be given a link to the Nextcloud server and end up on a uncontrolled thirdparty server. It is recommended that the User Saml app is upgraded to version 5.1.5, 5.2.5, or 6.0.1. There are no known workarounds for this issue.","aliases":["GHSA-622q-xhfr-xmv7"],"modified":"2026-08-12T03:51:18.088386110Z","published":"2024-01-18T19:21:06.618Z","database_specific":{"cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22400.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://hackerone.com/reports/2263044"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22400.json"},{"type":"ADVISORY","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22400"},{"type":"FIX","url":"https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a"},{"type":"FIX","url":"https://github.com/nextcloud/user_saml/pull/788"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nextcloud/user_saml","events":[{"introduced":"3ae2107e258cc6005ab125a67b27d338dc4b6a57"},{"fixed":"50396c39aba1c34373512f0e2fa66e0e55e15e8d"},{"introduced":"109ef789efbc774d5f7301cd5b91f230238dd6f8"},{"fixed":"75378ad5a98dc886533854a941e1c9a293aee711"},{"introduced":"e7e1cbd43e3a2b6eb463fa27c2a8ce96ef9035a1"},{"fixed":"b184304a476deeba36e92b70562d5de7c2f85f8a"}],"database_specific":{"cpe":["cpe:2.3:a:nextcloud:sso_\\&_saml_authentication:*:*:*:*:*:*:*:*","cpe:2.3:a:nextcloud:sso_\\&_saml_authentication:6.0.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.1.5"},{"introduced":"5.2.0"},{"fixed":"5.2.5"},{"introduced":"6.0.0"},{"last_affected":"6.0.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["6.0.0","v5.1.4","v5.2.4","v6.0.0","v5.2.3","v5.2.2","v5.2.1","v5.1.3","v5.2.0","v5.1.1","v5.1.0","v5.0.3","v5.0.2","v5.0.1","v5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-22400.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}