CVE-2024-41953
MEDIUM 6.1CVSS 3.1ZITADEL has improper HTML sanitization in emails and Console UI
Zitadel is an open source identity management system. ZITADEL uses HTML for emails and renders certain information such as usernames dynamically. That information can be entered by users or administrators. Due to a missing output sanitization, these emails could include malicious code. This may potentially lead to a threat where an attacker, without privileges, could send out altered notifications that are part of the registration processes. An attacker could create a malicious link, where the injected code would be rendered as part of the email. On the user's detail page, the username was also not sanitized and would also render HTML, giving an attacker the same vulnerability. While it was possible to inject HTML including javascript, the execution of such scripts would be prevented by most email clients and the Content Security Policy in Console UI. This vulnerability is fixed in 2.58.1, 2.57.1, 2.56.2, 2.55.5, 2.54.8 2.53.9, and 2.52.3.
- Published
- 31 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-v333-7h2p-5fhvGO-2024-3015
- Sources
- NVDJSONOSV GHSA-v333-7h2p-5fhvJSONOSV GO-2024-3015JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* |
>= 2.52.0, < 2.52.3 | 2.52.3 |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* |
>= 2.53.0, < 2.53.9 | 2.53.9 |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* |
>= 2.54.0, < 2.54.8 | 2.54.8 |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* |
>= 2.55.0, < 2.55.5 | 2.55.5 |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* |
>= 2.56.0, < 2.56.2 | 2.56.2 |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:2.57.0:-:*:*:*:*:*:* |
= 2.57.0 | |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:2.57.0:rc1:*:*:*:*:*:* |
= 2.57.0 | |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:2.57.0:rc2:*:*:*:*:*:* |
= 2.57.0 | |
| NVD | zitadel | zitadelcpe:2.3:a:zitadel:zitadel:2.58.0:*:*:*:*:*:*:* |
= 2.58.0 | |
| OSV | Go | github.com/zitadel/zitadel | >= 1.80.1, < 2.52.3 | 2.52.3 |
| OSV | Go | github.com/zitadel/zitadel | >= 2.53.0, < 2.53.9 | 2.53.9 |
| OSV | Go | github.com/zitadel/zitadel | >= 2.54.0, < 2.54.8 | 2.54.8 |
| OSV | Go | github.com/zitadel/zitadel | >= 2.55.0, < 2.55.5 | 2.55.5 |
| OSV | Go | github.com/zitadel/zitadel | >= 2.56.0, < 2.56.2 | 2.56.2 |
| OSV | Go | github.com/zitadel/zitadel | >= 2.57.0, < 2.57.1 | 2.57.1 |
| OSV | Go | github.com/zitadel/zitadel | >= 2.58.0, < 2.58.1 | 2.58.1 |
| OSV | Go | github.com/zitadel/zitadel | < 0.0.0-20240731122110-189505c80fa6 | 0.0.0-20240731122110-189505c80fa6 |
| OSV | Go | github.com/zitadel/zitadel | >= 0.0.0, < 1.80.0-v2.20.0.20240731122110-189505c80fa6 | 1.80.0-v2.20.0.20240731122110-189505c80fa6 |
| OSV | Go | github.com/zitadel/zitadel | all versions |
References
- https://github.com/zitadel/zitadel/commit/0e1f99e987b5851caec45a72660fe9f67e425747 · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/commit/38da602ee1cfc35c0d7918c298fbfc3f3674133b · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/commit/4b59cac67bb89c1f3f84a2041dd273d11151d29f · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/commit/c1a3fc72dde16e987d8a09aa291e7c2edfc928f7 · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/commit/c353f82f89c6982c0888c6763363296cf4263cb2 · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/commit/d04ac6df8f2f0243e649b802a8bfa6176cef0923 · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/commit/f846616a3f022e88e3ea8cea05d3254ad86f1615 · Patch, WEB, FIX
- https://github.com/zitadel/zitadel/releases/tag/v2.52.3 · Release Notes, WEB
- https://github.com/zitadel/zitadel/releases/tag/v2.53.9 · Release Notes, WEB
- https://github.com/zitadel/zitadel/releases/tag/v2.54.8 · Release Notes, WEB
- https://github.com/zitadel/zitadel/releases/tag/v2.55.5 · Release Notes, WEB
- https://github.com/zitadel/zitadel/releases/tag/v2.56.2 · Release Notes, WEB
- https://github.com/zitadel/zitadel/releases/tag/v2.57.1 · Release Notes, WEB
- https://github.com/zitadel/zitadel/releases/tag/v2.58.1 · Release Notes, WEB
- https://github.com/zitadel/zitadel/security/advisories/GHSA-v333-7h2p-5fhv · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-41953 · ADVISORY
- https://pkg.go.dev/vuln/GO-2024-3015 · WEB
- https://github.com/zitadel/zitadel · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 31 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jul 2024)