CVE-2026-35455: Immich stored XSS in 360 degree panorama viewer

CVE-2026-35455 · Severity: high · CVSS 7.3 · Published 2026-04-08

Immich is a self-hosted application used for managing personal photo and video collections. A security flaw in its 360-degree panorama viewer allows a malicious user to upload a specially crafted image that executes hidden code when viewed by others. If an administrator or another user views the image with the text-recognition (OCR) feature enabled, the attacker could steal their login session, access private photos, or view sensitive location and biometric data.

Technologies: Immich. Vendors: Immich.

Quick answers

Is CVE-2026-35455 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35455 being exploited in the wild.
How severe is CVE-2026-35455?
High severity, with a CVSS score of 7.3, published 8 April 2026.
Which products and versions are affected?
Immich >= 2.6.0, < 2.7.0.
Is there a fix for CVE-2026-35455?
A patch was published on 2026-04-08: Fixed in version 2.7.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-35455 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-35455?
Check whether you run Immich at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in Immich's 360° panorama viewer component (photo-sphere-viewer-adapter.svelte). The vulnerability occurs because the application uses the PaddleOCR pipeline to extract text from images and then renders that text using innerHTML without proper sanitization when the OCR overlay is enabled. An attacker can upload an equirectangular image containing malicious JavaScript; when another user views this panorama and interacts with the OCR tooltip, the script executes in their context. This can be used to bypass CSP (if 'unsafe-inline' is present) to create persistent API keys, exfiltrate private assets, or access GPS and biometric metadata. The issue is fixed in version 2.7.0.

Affected products

  • immich-app immich >= 2.6.0, < 2.7.0

Timeline

  • 2026-04-08: disclosed
  • 2026-04-08: advisory
  • 2026-04-08: patched: Fixed in version 2.7.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.