Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionNVD
immich is a high performance self-hosted photo and video management solution. Prior to 2.7.0, sStored Cross-Site Scripting (XSS) in the 360° panorama viewer allows any authenticated user to execute arbitrary JavaScript in the browser of any other user who views the malicious panorama with the OCR overlay enabled. The attacker uploads an equirectangular image containing crafted text; OCR extracts it, and the panorama viewer renders it via innerHTML without sanitization. This enables session hijacking (via persistent API key creation), private photo exfiltration, and access to GPS location history and face biometric data. This vulnerability is fixed in 2.7.0.
AnalysisAI
Stored Cross-Site Scripting in Immich photo management platform versions prior to 2.7.0 enables authenticated attackers to execute arbitrary JavaScript when victims view malicious 360° panorama images with OCR overlay enabled. Attackers upload specially crafted equirectangular images containing malicious text that OCR extracts and the panorama viewer renders unsanitized via innerHTML. Exploitation permits session hijacking through persistent API key creation, exfiltration of private photos, GPS location history theft, and unauthorized access to facial biometric data. No public exploit identified at time of analysis.
Technical ContextAI
Root cause is improper neutralization of input (CWE-79) in panorama viewer's OCR text rendering path. OCR engine extracts text from uploaded equirectangular images, which is subsequently inserted into DOM via innerHTML without sanitization, allowing JavaScript execution in victim browsers accessing affected panoramas with OCR overlay active.
RemediationAI
Vendor-released patch: Immich 2.7.0 resolves this vulnerability through input sanitization in the panorama viewer OCR rendering pathway. Organizations should immediately upgrade all Immich instances to version 2.7.0 or later. As an interim workaround, disable OCR overlay functionality in the panorama viewer interface or restrict panorama upload permissions to trusted administrators only until patching is complete. Review API keys created during the vulnerability window for unauthorized persistent access tokens. Full vendor advisory available at https://github.com/immich-app/immich/security/advisories/GHSA-9qx4-67jm-cc66 with additional technical details and remediation guidance.
Immich versions prior to 2.5.0 contain an improper access control flaw that allows any authenticated API key to escalate
Album ownership takeover in immich before 3.0.3 allows a user with shared-album editor access to escalate to full owner
Reflected cross-site scripting in Immich (commits 4ffa26c9 through pre-4eb1003) allows a single-click account takeover o
Locked asset visibility bypass in Immich through 3.1.0 exposes private photo and video assets to unauthorized viewers vi
Immich prior to version 2.6.0 discloses shared album passwords in cleartext within URL query parameters during authentic
Open redirect vulnerability in Immich prior to version 2.7.3 allows authenticated attackers to craft malicious shared al
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-20583