{"id":"CVE-2026-53662","published":"2026-06-23T17:36:30Z","modified":"2026-06-23T18:32:43Z","title":"immich: One-click account takeover via XSS in login page continue redirect","vendor":"immich-app","product":"immich","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00431,"percentile":0.29133,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/immich-app/immich/security/advisories/GHSA-8244-8vpr-vp9c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/immich-app/immich/commit/4eb100327ea5da2e90381b96809f1f1cc51cc7e3","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":5.83},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"immich-app","affectedVersions":[{"vendor":"immich-app","product":"immich","versions":[">= main@4ffa26c9, < main@4eb1003"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-23T18:28:22.156497Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38551","exploited":false,"provenance":"source"}}