CVE-2024-29891
published high CVSS 3.1 · 8.7ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zitadel | — | zitadel< 2.42.17 · >= 2.43.0, < 2.43.11 · >= 2.44.0, < 2.44.7 · >= 2.45.0, < 2.45.5 · >= 2.46.0, < 2.46.5 · >= 2.47.0, < 2.47.8 · >= 2.48.0, < 2.48.3 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zitadel | zitadel | < 2.42.17 (affected)>= 2.43.0, < 2.43.11 (affected)>= 2.44.0, < 2.44.7 (affected)>= 2.45.0, < 2.45.5 (affected)>= 2.46.0, < 2.46.5 (affected)>= 2.47.0, < 2.47.8 (affected)>= 2.48.0, < 2.48.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
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/security/advisories/GHSA-hr5w-cwwq-2v4m
Provider assertions
3GitHub_M · cna
ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 98235fc410e7671748d31293341e767b57ff5b62a8178a4650ddfb7c53410e9c
- Ingested
- 23 Sep 2026, 08:21:29 UTC
- Source record
- Official CVE record