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.

Technologies: github.com/zitadel/zitadel (Go), github.com/zitadel/zitadel/v2 (Go), ZITADEL. Vendors: Go, ZITADEL.

Quick answers

Is CVE-2025-67495 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-67495 being exploited in the wild.
How severe is CVE-2025-67495?
High severity, with a CVSS score of 8, published 9 December 2025.
Which products and versions are affected?
github.com/zitadel/zitadel (Go) SEMVER:introduced=0,fixed=1.80.0-v2.20.0.20251208091519-4c879b47334e, SEMVER:introduced=0,fixed=1.80.0-v2.20.0.20251208091519-4c879b47334e,introduced=1.83.4; github.com/zitadel/zitadel/v2 (Go) SEMVER:introduced=0,fixed=1.80.0-v2.20.0.20251208091519-4c879b47334e.
Is there a fix for CVE-2025-67495?
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

Affected products

  • github.com/zitadel/zitadel (Go) SEMVER:introduced=0,fixed=1.80.0-v2.20.0.20251208091519-4c879b47334e, SEMVER:introduced=0,fixed=1.80.0-v2.20.0.20251208091519-4c879b47334e,introduced=1.83.4
  • github.com/zitadel/zitadel/v2 (Go) SEMVER:introduced=0,fixed=1.80.0-v2.20.0.20251208091519-4c879b47334e
  • ZITADEL

Identifiers

  • CVE-2025-67495
  • GHSA-v959-qxv6-6f8p
  • GO-2025-4213

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