CVE-2024-29891

ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass

Published Mar 27, 2024 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0942 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.
Github GHSA Github GHSA GHSA-hr5w-cwwq-2v4m ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
History
Type Values Removed Values Added
First Time appeared Zitadel
Zitadel zitadel
Weaknesses CWE-79
CPEs cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
Vendors & Products Zitadel
Zitadel zitadel
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 1:17 AM
Reserved
Mar 21, 2024, 3:12 PM
Status
Analyzed
Published
Mar 27, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:23 AM