What’s Vulnerable › Vulnerabilities
CVE-2026-53662: immich: One-click account takeover via XSS in login page continue redirect
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-25
- Weakness: CWE-79
Description
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.
Affected products
- immich-app immich: from main@4ffa26c9, < main@4eb1003
References
- https://github.com/immich-app/immich/commit/4eb100327ea5da2e90381b96809f1f1cc51cc7e3
- https://github.com/immich-app/immich/security/advisories/GHSA-8244-8vpr-vp9c
- https://github.com/immich-app/immich/security/advisories/GHSA-8244-8vpr-vp9c
Get alerted when CVE-2026-53662 or the next vulnerability affects your stack