CVE-2025-67495: GO-2025-4213 - ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login in github.com/zitadel/zitadel
CVE-2025-67495 · Severity: high · CVSS 8 · Published 2025-12-09
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.
Yes. github.com/zitadel/zitadel (Go): upgrade to 1.80.0-v2.20.0.20251208091519-4c879b47334e or later; github.com/zitadel/zitadel/v2 (Go): upgrade to 1.80.0-v2.20.0.20251208091519-4c879b47334e or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-67495?
Check whether you run github.com/zitadel/zitadel (Go), github.com/zitadel/zitadel/v2 (Go) or ZITADEL 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.
How to fix
github.com/zitadel/zitadel (Go): upgrade to 1.80.0-v2.20.0.20251208091519-4c879b47334e or later
go get github.com/zitadel/zitadel@v1.80.0-v2.20.0.20251208091519-4c879b47334e
github.com/zitadel/zitadel/v2 (Go): upgrade to 1.80.0-v2.20.0.20251208091519-4c879b47334e or later
go get github.com/zitadel/zitadel/v2@v1.80.0-v2.20.0.20251208091519-4c879b47334e