{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4eb100327ea5da2e90381b96809f1f1cc51cc7e3"
            }
          ],
          "repo": "https://github.com/immich-app/immich",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8244-8vpr-vp9c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53662.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "\u003e= main@4ffa26c9, \u003c main@4eb1003"
          },
          {
            "last_affected": "\u003e= main@4ffa26c9, \u003c main@4eb1003"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "immich is a high performance self-hosted photo and video management solution. From commit 4ffa26c9 until 4eb1003, a reflected cross-site scripting (XSS) vulnerability on the /auth/login page allows an attacker to fully compromise any authenticated user's account with a single link click. The continue query parameter is read from the URL and passed to SvelteKit's redirect() without any scheme or origin validation, allowing attacker-controlled JavaScript to execute inside Immich's origin. The payload then uses the victim's existing session to mint an all-permission API key on their account, leading to persistent account takeover. This vulnerability is fixed in commit 4eb1003.",
  "id": "CVE-2026-53662",
  "modified": "2026-07-08T05:39:28.306177192Z",
  "published": "2026-06-23T17:36:30.727Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53662.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/immich-app/immich/security/advisories/GHSA-8244-8vpr-vp9c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53662"
    },
    {
      "type": "FIX",
      "url": "https://github.com/immich-app/immich/commit/4eb100327ea5da2e90381b96809f1f1cc51cc7e3"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "immich: One-click account takeover via XSS in login page continue redirect"
}