Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 90%

CVE-2026-40096: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in immich-app immich

0
Medium
VulnerabilityCVE-2026-40096cvecve-2026-40096cwe-79cwe-601
Published: Tue Apr 14 2026 (04/14/2026, 23:54:17 UTC)
Source: CVE Database V5
Vendor/Project: immich-app
Product: immich

Description

immich versions prior to 2. 7. 3 contain a cross-site scripting (XSS) vulnerability due to improper input neutralization in the shared album feature. An attacker can craft an album name that injects a malicious meta refresh tag, causing victim browsers to redirect to attacker-controlled sites when opening the shared album link. This can facilitate phishing attacks by misleading victims into providing credentials to fake login pages. The issue is fixed in immich version 2. 7. 3.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:44:09 UTC

Technical Analysis

The vulnerability in immich-app immich (CVE-2026-40096) is an improper neutralization of input during web page generation (CWE-79) combined with an open redirect (CWE-601). Specifically, the album name is inserted unsanitized into a <meta> tag in the api.service.ts file. A registered attacker can create a shared album with a specially crafted name containing a meta refresh directive that triggers a browser redirect to an attacker-controlled URL. This occurs in the <meta property="og:title"> tag, enabling phishing attacks by redirecting victims to malicious sites. The vulnerability affects versions prior to 2.7.3 and has been fixed in version 2.7.3.

Potential Impact

Successful exploitation allows an attacker to redirect users who open a shared album link to a malicious website. This can be used to conduct phishing attacks by hosting fake login pages that steal user credentials. The vulnerability requires the attacker to be a registered user who can create shared albums. The CVSS 4.0 base score is 5.1 (medium severity), reflecting network attack vector, low complexity, no privileges required beyond registration, and user interaction needed.

Mitigation Recommendations

Upgrade immich to version 2.7.3 or later, where this vulnerability has been fixed. No other mitigation is required as the issue is resolved in the official patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T01:41:38.536Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69ded8f482d89c981f22edd7

Added to database: 4/15/2026, 12:16:52 AM

Last enriched: 4/22/2026, 6:44:09 AM

Last updated: 5/29/2026, 4:13:35 PM

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses