# CVE-2025-67495: GO-2025-4213 - ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login in github.com/zitadel/zitadel

Source: https://junglewise.ai/threats/cve-2025-67495-zitadel-vulnerable-to-account-takeover-via-dom-based-xss-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-09  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/github-com-zitadel-zitadel), [github.com/zitadel/zitadel/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-zitadel-zitadel-v2), [ZITADEL](https://junglewise.ai/threats/technologies/zitadel). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [ZITADEL](https://junglewise.ai/threats/vendors/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

  ```sh
  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

  ```sh
  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

## Related threats

- [ZITADEL missing authorization in Login V2 device authorization](https://junglewise.ai/threats/cve-2026-119129-zitadel-3-0-0-through-3-4-15-and-4-0-0-before-4-19-5-contains-a)
- [ZITADEL authentication bypass in Login V2 UI](https://junglewise.ai/threats/cve-2026-119128-zitadel-4-0-0-before-4-19-5-contains-an-authentication-bypass)
- [ZITADEL Login V2 host header injection in password reset](https://junglewise.ai/threats/cve-2026-119127-zitadel-4-0-0-before-4-19-5-contains-a-host-header-injection)
- [ZITADEL privilege escalation in OIDC token exchange](https://junglewise.ai/threats/cve-2026-109374-zitadel-3-0-0-before-4-19-2-contains-a-privilege-escalation)
- [ZITADEL authentication bypass in Login V2 UI](https://junglewise.ai/threats/cve-2026-109373-zitadel-3-0-0-before-4-19-2-contains-an-authentication-bypass)
