{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1053b625796f9bc80ae9947fd22b2fb953dbf70a"
            },
            {
              "fixed": "647dae678fa14b4b4e187204b8491608796fc92a"
            }
          ],
          "repo": "https://github.com/nextcloud/user_oidc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-784j-x2g5-4g7q"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52512.json"
  },
  "details": "user_oidc app is an OpenID Connect user backend for Nextcloud. A malicious user could send a malformed login link that would redirect the user to a provided URL after successfully authenticating. It is recommended that the Nextcloud User OIDC app is upgraded to 6.1.0.",
  "id": "CVE-2024-52512",
  "modified": "2026-04-01T23:07:49.402940794Z",
  "published": "2024-11-15T17:18:50.519Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/2720030"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52512.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-784j-x2g5-4g7q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52512"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/user_oidc/commit/c923428d51972f6d04636c6accbecdec0c1b88e9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/user_oidc/pull/961"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Nextcloud User OIDC has an open redirection when logging in with User OIDC"
}