CVE-2026-40096 | immich up to 2.7.2 Name cross site scripting
VulDBArchived Apr 15, 2026✓ Full text saved
A vulnerability labeled as problematic has been found in immich up to 2.7.2 . Affected by this vulnerability is an unknown functionality of the component Name Handler . The manipulation results in cross site scripting. This vulnerability is cataloged as CVE-2026-40096 . The attack may be launched remotely. There is no exploit available. The affected component should be upgraded.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357655 · CVE-2026-40096 · GCVE-0-2026-40096
IMMICH UP TO 2.7.2 NAME CROSS SITE SCRIPTING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
3.4 $0-$5k 1.13+
Summaryinfo
A vulnerability marked as problematic has been reported in immich up to 2.7.2. Affected by this issue is some unknown functionality of the component Name Handler. This manipulation causes cross site scripting. This vulnerability is registered as CVE-2026-40096. Remote exploitation of the attack is possible. No exploit is available. It is suggested to upgrade the affected component.
Detailsinfo
A vulnerability has been found in immich up to 2.7.2 and classified as problematic. Affected by this vulnerability is an unknown code of the component Name Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. The summary by CVE is:
immich is a high performance self-hosted photo and video management solution. Versions prior to 2.7.3 contain an open redirect vulnerability in the shared album functionality, where the album name is inserted unsanitized into a tag in api.service.ts. A registered attacker can create a shared album with a crafted name containing 0;url=https://attackersite.com" http-equiv="refresh, which when rendered in the tag causes the victim's browser to redirect to an attacker-controlled site upon opening the share link. This facilitates phishing attacks, as the attacker could host a modified version of immich that collects login credentials from victims who believe they need to authenticate to view the shared album. This issue has been fixed in version 2.7.3.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2026-40096 since 04/09/2026. The exploitation appears to be easy. The attack can be launched remotely. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
Upgrading to version 2.7.3 eliminates this vulnerability.
Productinfo
Name
immich
Version
2.7.0
2.7.1
2.7.2
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 3.5
VulDB Meta Temp Score: 3.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: immich 2.7.3
Timelineinfo
04/09/2026 CVE reserved
04/15/2026 +6 days Advisory disclosed
04/15/2026 +0 days VulDB entry created
04/15/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-40096 (🔒)
GCVE (CVE): GCVE-0-2026-40096
GCVE (VulDB): GCVE-100-357655
Entryinfo
Created: 04/15/2026 07:19
Changes: 04/15/2026 07:19 (66)
Complete: 🔍
Cache ID: 99:B04:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸