Skip to main content

ZITADEL CVE-2025-67495

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-09 security-advisories@github.com
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious /logout link with post_logout_redirect payload
  2. Delivery
    Lure logged-in user to click link
  3. Exploit
    DOM routes to attacker-supplied value
  4. Execution
    JavaScript executes in login-V2 domain
  5. Persist
    Reset password / hijack active session
  6. Impact
    Take over single-factor account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the ZITADEL login UI v2 (login V2) to be in use on an affected version (4.0.0-rc.1 through 4.7.0); the flaw lives in the /logout endpoint, which routes to the unvalidated post_logout_redirect GET parameter. Concrete limiting factors from the advisory: (1) the victim must interact by opening the attacker-crafted logout URL (CVSS UI:R); (2) multiple user sessions must be active in the same browser for the attack to achieve its goal; and (3) account takeover is fully mitigated for accounts protected by Multi-Factor Authentication (MFA) or Passwordless authentication, so only single-factor accounts are at real takeover risk. Instances not running login V2 are not affected.

Impact

This is a moderate-severity DOM-based XSS (CWE-79) carrying a realistic-but-conditional risk profile, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, base 6.1) indicates a network-reachable, unauthenticated flaw that nonetheless requires user interaction (UI:R) and yields only limited confidentiality/integrity impact with a scope change into the browser context. EPSS corroborates a relatively low near-term exploitation probability (0.30%, 21st percentile), and there is no CISA KEV listing and no referenced public proof-of-concept, so exploitation status is 'no public exploit identified at time of analysis.' No SSVC decision record is provided in the input. The practical risk is tempered by two documented preconditions in the vendor advisory: the victim must have multiple active sessions open in the same browser, and account takeover is mitigated entirely when MFA or Passwordless authentication is enforced - meaning the worst-case (password reset / account takeover) applies mainly to single-factor deployments. Net: a genuine, patch-worthy issue for internet-facing ZITADEL login-V2 instances, but not an emergency mass-exploitation candidate; prioritize based on whether MFA is enforced org-wide.

Exploit ScenarioDerived

An attacker crafts a ZITADEL /logout URL with a malicious post_logout_redirect value containing a JavaScript payload and lures a logged-in user (who has one or more active sessions in that browser) to click it. Because the login-V2 UI routes to the attacker-supplied value without validating it, the script executes in the ZITADEL login domain, allowing the attacker to drive a password reset and take over single-factor accounts. No public exploit code is referenced, and success depends on the victim clicking the link (UI:R) and having concurrent active sessions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

DOM-based cross-site scripting (XSS) in ZITADEL's login UI v2 (versions 4.0.0-rc.1 through 4.7.0) allows an unauthenticated remote attacker to execute arbitrary JavaScript in a victim's browser by crafting a /logout URL with a malicious post_logout_redirect parameter. Exploitation requires the victim to interact with the link (UI:R) and multiple active sessions in the same browser, and account takeover is fully mitigated for accounts with MFA or Passwordless authentication enabled. No public exploit code has been identified, and the EPSS score is low (0.30%, 21st percentile). Vendor-released patch: 4.7.1.

RemediationAI

Upgrade to ZITADEL login UI v2 version 4.7.1 or later (vendor-released patch). The patch is included in commit 4c879b47334e01d4fcab921ac1b44eda39acdb96. For custom login UIs, switch to the new logout_token parameter and verify the JWT signature with the instance's OAuth2/OIDC public keys (jwks_uri). Before upgrading, ensure ZITADEL_API_URL is set to your instance, the HTTP host (or X-Forwarded-Host) is passed through the reverse proxy, and for multi-instance deployments, x-zitadel-instance-host (or x-zitadel-forward-host) is set. As a compensating control, enable Multi-Factor Authentication (MFA) or Passwordless authentication for all users, which mitigates account takeover even if the XSS is exploited. No other workaround is documented in the advisory.

Affected Packages

go github.com/zitadel/zitadel fix: 1.80.0-v2.20.0.20251208091519-4c879b47334e, 4.7.1
go github.com/zitadel/zitadel/v2 fix: 1.80.0-v2.20.0.20251208091519-4c879b47334e

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a DOM-based XSS (CWE-79) in ZITADEL's login V2, implemented as a Next.js application. The /logout endpoint fails to validate the post_logout_redirect GET parameter before using it to route or redirect, allowing injection of arbitrary JavaScript into the DOM. The fix (commit 4c879b47334e01d4fcab921ac1b44eda39acdb96) replaces query parameter-based information passing with a signed JWT (logout_token) that must be verified against the instance's OAuth2/OIDC public keys (jwks_uri). This change ensures that redirect targets are not directly controlled by unvalidated user input. The CPE cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* covers the affected product, but only systems using the login UI (v2) are vulnerable.

Know when Zitadel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Unauthenticated network-reachable DOM XSS requiring victim click (UI:R); script runs cross-context in the login domain (S:C) with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

ZITADEL is an open-source identity infrastructure tool. Versions 4.0.0-rc.1 through 4.7.0 are vulnerable to DOM-Based XSS through the Zitadel V2 logout endpoint. The /logout endpoint insecurely routes to a value that is supplied in the post_logout_redirect GET parameter. As a result, unauthenticated remote attacker can execute malicious JS code on Zitadel users’ browsers. To carry out an attack, multiple user sessions need to be active in the same browser, however, account takeover is mitigated when using Multi-Factor Authentication (MFA) or Passwordless authentication. This issue is fixed in version 4.7.1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
open-source IAM platform with moderate production adoption, not ubiquitous
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)NVD

cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
CVE-2024-49753 CRITICAL POC
9.1 Oct 25

Zitadel is open-source identity infrastructure software. Rated critical severity (CVSS 9.1), this vulnerability is remot

CVE-2023-49097 HIGH POC
8.8 Nov 30

ZITADEL is an identity infrastructure system. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable

CVE-2026-109372 CRITICAL
9.3 Oct 12

Authentication bypass in ZITADEL 4.x before 4.19.2 and 3.x through 3.4.15 lets an authenticated attacker with organizati

CVE-2026-105207 CRITICAL
9.3 Oct 04

Account takeover in ZITADEL affects instances running 3.0.0 through 3.4.15 and 4.0.0 before 4.17.3: an unauthenticated r

CVE-2026-105209 CRITICAL
9.3 Oct 04

Cross-organization account takeover in ZITADEL 3.x before 3.4.15 and 4.x before 4.17.1 allows an authenticated attacker

CVE-2026-29191 CRITICAL
9.3 Mar 07

Stored XSS in ZITADEL identity management platform versions 4.0.0 to 4.11.1 allows unauthenticated attackers to inject p

CVE-2026-105215 CRITICAL
9.3 Oct 04

Account pre-hijacking in ZITADEL lets an unauthenticated remote attacker create a user record already bound to a victim'

CVE-2026-109373 CRITICAL
9.2 Oct 12

Authentication bypass in ZITADEL's Login V2 UI (versions 3.0.0 through 4.19.1) allows unauthenticated attackers to take

CVE-2026-105211 CRITICAL
9.2 Oct 04

Remote account takeover in ZITADEL versions before 4.17.1 allows unauthenticated attackers to compromise MFA-protected a

CVE-2025-27507 CRITICAL
9.0 Mar 04

The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. Ra

CVE-2024-49757 MEDIUM POC
4.9 Oct 25

The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. Ra

CVE-2026-109371 HIGH
8.8 Oct 12

Unauthenticated username-change in ZITADEL's hosted Login V1 UI lets a remote attacker rename any active human account -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy