Security mailing lists by PureSourceCode

CVE-2024-29891

HIGH 8.7CVSS 3.1

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

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.

Published
27 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-434CWE-79
Also known as
GHSA-hr5w-cwwq-2v4mGO-2024-2665
Sources
NVDJSONOSV GHSA-hr5w-cwwq-2v4mJSONOSV GO-2024-2665JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
< 2.42.17 2.42.17
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
>= 2.43.0, < 2.43.11 2.43.11
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
>= 2.44.0, < 2.44.7 2.44.7
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
>= 2.45.0, < 2.45.5 2.45.5
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
>= 2.46.0, < 2.46.5 2.46.5
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
>= 2.47.0, < 2.47.8 2.47.8
NVD zitadel zitadel
cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
>= 2.48.0, < 2.48.3 2.48.3
OSV Go github.com/zitadel/zitadel < 2.42.17 2.42.17
OSV Go github.com/zitadel/zitadel >= 2.43.0, < 2.43.11 2.43.11
OSV Go github.com/zitadel/zitadel >= 2.44.0, < 2.44.7 2.44.7
OSV Go github.com/zitadel/zitadel >= 2.45.0, < 2.45.5 2.45.5
OSV Go github.com/zitadel/zitadel >= 2.46.0, < 2.46.5 2.46.5
OSV Go github.com/zitadel/zitadel >= 2.47.0, < 2.47.8 2.47.8
OSV Go github.com/zitadel/zitadel >= 2.48.0, < 2.48.3 2.48.3
OSV Go github.com/zitadel/zitadel all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 27 Mar 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.