CVE-2024-29891 json
ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
published 2y ago modified 2mo ago also EUVD-2024-0942 , GHSA-hr5w-cwwq-2v4m , GO-2024-2665
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/zitadel/zitadel 2.42.17, 2.43.11, 2.44.7, 2.45.5, 2.46.5, 2.47.8, 2.48.3
- zitadel zitadel 2.42.17, 2.43.11, 2.44.7, 2.45.5, 2.46.5, 2.47.8, 2.48.3
- github.com/zitadel/zitadel/releases/tag/v2.42.17 release
- github.com/zitadel/zitadel/releases/tag/v2.43.11 release
- github.com/zitadel/zitadel/releases/tag/v2.44.7 release
- github.com/zitadel/zitadel/releases/tag/v2.45.5 release
- github.com/zitadel/zitadel/releases/tag/v2.46.5 release
- github.com/zitadel/zitadel/releases/tag/v2.47.8 release
- github.com/zitadel/zitadel/releases/tag/v2.48.3 release
Is CVE-2024-29891 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/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 all versions |
2.42.17 2.43.11 2.44.7 2.45.5 2.46.5 2.47.8 2.48.3 |
Affected products
- zitadel zitadel
Classification
References
-
github.com
/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m
web, vendor-advisory, advisory
-
github.com
/zitadel/zitadel/releases/tag/v2.42.17
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.43.11
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.44.7
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.45.5
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.46.5
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.47.8
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.48.3
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-29891
advisory
-
github.com
/zitadel/zitadel
package
Sources
- CVE List CVE-2024-29891
- GitHub Advisory GHSA-hr5w-cwwq-2v4m
- NVD CVE-2024-29891
- OSV GO-2024-2665
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.