ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434 and CWE-79.
Summary
ZITADEL users can upload their own avatar image and various image types are allowed. Due to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios. A possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work. The exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code. This vulnerability is fixed in 2.48.3, 2.47.8, 2.46.5, 2.45.5, 2.44.7, 2.43.11, and 2.42.17.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zitadel | zitadel | before 2.42.17; 2.43.0 to before 2.43.11; 2.44.0 to before 2.44.7; 2.45.0 to before 2.45.5; 2.46.0 to before 2.46.5; 2.47.0 to before 2.47.8; 2.48.0 to before 2.48.3 | 2.42.17, 2.43.11, 2.44.7, 2.45.5, 2.46.5, 2.47.8, 2.48.3 | Patch available | CNA |
| — | github.com/zitadel/zitadel (Go) | before 2.42.17 | 2.42.17 | Patch available | GHSA-hr5w-cwwq-2v4m |
| — | github.com/zitadel/zitadel (Go) | 2.43.0 to before 2.43.11 | 2.43.11 | Patch available | GHSA-hr5w-cwwq-2v4m |
| — | github.com/zitadel/zitadel (Go) | 2.44.0 to before 2.44.7 | 2.44.7 | Patch available | GHSA-hr5w-cwwq-2v4m |
| — | github.com/zitadel/zitadel (Go) | 2.45.0 to before 2.45.5 | 2.45.5 | Patch available | GHSA-hr5w-cwwq-2v4m |
| — | github.com/zitadel/zitadel (Go) | 2.46.0 to before 2.46.5 | 2.46.5 | Patch available | GHSA-hr5w-cwwq-2v4m |
| — | github.com/zitadel/zitadel (Go) | 2.47.0 to before 2.47.8 | 2.47.8 | Patch available | GHSA-hr5w-cwwq-2v4m |
| — | github.com/zitadel/zitadel (Go) | 2.48.0 to before 2.48.3 | 2.48.3 | Patch available | GHSA-hr5w-cwwq-2v4m |
- zitadel Vendorzitadel Affected before 2.42.17; 2.43.0 to before 2.43.11; 2.44.0 to before 2.44.7; 2.45.0 to before 2.45.5; 2.46.0 to before 2.46.5; 2.47.0 to before 2.47.8; 2.48.0 to before 2.48.3 Fixed in 2.42.17, 2.43.11, 2.44.7, 2.45.5, 2.46.5, 2.47.8, 2.48.3 Patch available CNA
- github.com/zitadel/zitadel (Go) Vendor— Affected before 2.42.17 Fixed in 2.42.17 Patch available GHSA-hr5w-cwwq-2v4m
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.43.0 to before 2.43.11 Fixed in 2.43.11 Patch available GHSA-hr5w-cwwq-2v4m
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.44.0 to before 2.44.7 Fixed in 2.44.7 Patch available GHSA-hr5w-cwwq-2v4m
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.45.0 to before 2.45.5 Fixed in 2.45.5 Patch available GHSA-hr5w-cwwq-2v4m
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.46.0 to before 2.46.5 Fixed in 2.46.5 Patch available GHSA-hr5w-cwwq-2v4m
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.47.0 to before 2.47.8 Fixed in 2.47.8 Patch available GHSA-hr5w-cwwq-2v4m
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.48.0 to before 2.48.3 Fixed in 2.48.3 Patch available GHSA-hr5w-cwwq-2v4m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* | before 2.42.17; 2.43.0 to before 2.43.11; 2.44.0 to before 2.44.7; 2.45.0 to before 2.45.5; 2.46.0 to before 2.46.5; 2.47.0 to before 2.47.8; 2.48.0 to before 2.48.3 | Vulnerable | zitadel |
- cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* Versions before 2.42.17; 2.43.0 to before 2.43.11; 2.44.0 to before 2.44.7; 2.45.0 to before 2.45.5; 2.46.0 to before 2.46.5; 2.47.0 to before 2.47.8; 2.48.0 to before 2.48.3 Vulnerable ·zitadel
Remediation
- Fix · CNA zitadel (zitadel) Fixed in 2.42.17, 2.43.11, 2.44.7, 2.45.5, 2.46.5, 2.47.8, 2.48.3
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.42.17 Advisory →
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.43.11 Advisory →
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.44.7 Advisory →
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.45.5 Advisory →
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.46.5 Advisory →
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.47.8 Advisory →
- Fix · GHSA-hr5w-cwwq-2v4m github.com/zitadel/zitadel (Go) Fixed in 2.48.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29891
- 2026-10-03 Alias added: GHSA-hr5w-cwwq-2v4m
References
Advisory 2
Other 8
- https://github.com/zitadel/zitadel/releases/tag/v2.42.17
- https://github.com/zitadel/zitadel/releases/tag/v2.43.11
- https://github.com/zitadel/zitadel/releases/tag/v2.44.7
- https://github.com/zitadel/zitadel/releases/tag/v2.45.5
- https://github.com/zitadel/zitadel/releases/tag/v2.46.5
- https://github.com/zitadel/zitadel/releases/tag/v2.47.8
- https://github.com/zitadel/zitadel/releases/tag/v2.48.3
- https://github.com/zitadel/zitadel
More Zitadel vulnerabilities
- TI-2024-26607 ZITADEL Vulnerable to Session Information Leakage CVSS 3.1MEDIUM 6.5
- TI-2025-41253 ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login CVSS 3.1CRITICAL 9.3
- TI-2025-39554 Zitadel Bypass Second Authentication Factor CVSS 4.0HIGH 8.7
- TI-2024-33224 Zitadel User Registration Bypass Vulnerability CVSS 3.1HIGH 7.5
- TI-2024-31388 Service Users Deactivation not Working in Zitadel CVSS 3.1HIGH 8.1
- TI-2026-23310 ZITADEL: Bypassing Zitadel Login Behavior and Security Policy in Login V2 CVSS 3.1HIGH 8.2
Sources
- CVE-2024-29891 · CVE Program
- CVE-2024-29891 · NVD
- FIRST EPSS
- GHSA-hr5w-cwwq-2v4m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences