{"id":"CVE-2025-67495","published":"2025-12-09T22:38:44Z","modified":"2025-12-10T16:50:23Z","title":"ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login","vendor":"zitadel","product":"zitadel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00319,"percentile":0.2556,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-v959-qxv6-6f8p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zitadel/zitadel/commit/4c879b47334e01d4fcab921ac1b44eda39acdb96","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":5.11},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"zitadel","affectedVersions":[{"vendor":"zitadel","product":"zitadel","versions":["< 1.80.0-v2.20.0.20251208091519-4c879b47334e",">= 1.83.4, <= 1.87.5",">= 4.0.0-rc.1, < 4.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-12-10T16:13:47.888251Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/zitadel/zitadel","vulnerableRanges":["<1.80.0-v2.20.0.20251208091519-4c879b47334e",">=1.83.4, <=1.87.5",">=4.0.0-rc.1, <4.7.1",">=1.83.4"],"patched":["1.80.0-v2.20.0.20251208091519-4c879b47334e","4.7.1"],"from":["GHSA-v959-qxv6-6f8p","GO-2025-4213"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/zitadel/zitadel/v2","vulnerableRanges":["<1.80.0-v2.20.0.20251208091519-4c879b47334e"],"patched":["1.80.0-v2.20.0.20251208091519-4c879b47334e"],"from":["GHSA-v959-qxv6-6f8p"],"provenance":"source"}],"summary":{"text":"ZITADEL's V2 login component contains a DOM-based cross-site scripting flaw in the /logout endpoint, which insecurely routes to a destination taken from the post_logout_redirect GET parameter. An unauthenticated remote attacker can exploit this by getting a user to open a crafted link, provided several user sessions are active in the same browser, and account takeover is mitigated when MFA or passwordless authentication is in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:51Z"},"euvd":{"id":"EUVD-2025-201820","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-67494","published":"2025-12-09","fixed":"1.80.0-v2.20.0.20251208091519-4c879b47334e","kev":false},{"cve":"CVE-2025-67495","published":"2025-12-09","fixed":"1.80.0-v2.20.0.20251208091519-4c879b47334e","kev":false},{"cve":"CVE-2026-29067","published":"2026-03-07","fixed":"1.80.0-v2.20.0.20251208091519-4c879b47334e","kev":false},{"cve":"CVE-2024-46999","published":"2024-09-19","fixed":"2.62.1","kev":false},{"cve":"CVE-2024-47000","published":"2024-09-19","fixed":"2.62.1","kev":false},{"cve":"CVE-2025-64101","published":"2025-10-29","fixed":"2.71.18","kev":false,"link":{"from":"CVE-2025-64101","to":"CVE-2025-67495","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/zitadel/zitadel/v2","fromFixed":"1.80.0-v2.20.0.20251029090537-72a5c33e6ac3","toFixed":"1.80.0-v2.20.0.20251208091519-4c879b47334e","daysApart":41}]}},{"cve":"CVE-2026-27945","published":"2026-02-26","fixed":"4.11.1","kev":false,"link":{"from":"CVE-2025-67495","to":"CVE-2026-27945","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/zitadel/zitadel/v2","fromFixed":"1.80.0-v2.20.0.20251208091519-4c879b47334e","toFixed":"1.80.0-v2.20.0.20260225053328-b2532e966621","daysApart":79}]}}],"package":"Go:github.com/zitadel/zitadel/v2"}}