CVE-2024-41953
published medium CVSS 3.1 · 4.3Zitadel improperly sanitizes HTML in emails and Console UI
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zitadel | — | zitadel>= 2.52.0, < 2.52.3 · >= 2.53.0, < 2.53.9 · >= 2.54.0, < 2.54.8 · >= 2.55.0, < 2.55.5 · >= 2.56.0, < 2.56.2 · >= 2.57.0, < 2.57.1 · >= 2.58.0, < 2.58.1 | Affected | Not stated | GitHub_M |
Description
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.
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
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zitadel | zitadel | >= 2.52.0, < 2.52.3 (affected)>= 2.53.0, < 2.53.9 (affected)>= 2.54.0, < 2.54.8 (affected)>= 2.55.0, < 2.55.5 (affected)>= 2.56.0, < 2.56.2 (affected)>= 2.57.0, < 2.57.1 (affected)>= 2.58.0, < 2.58.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
15- https://github.com/zitadel/zitadel/commit/0e1f99e987b5851caec45a72660fe9f67e425747
- https://github.com/zitadel/zitadel/commit/38da602ee1cfc35c0d7918c298fbfc3f3674133b
- https://github.com/zitadel/zitadel/commit/4b59cac67bb89c1f3f84a2041dd273d11151d29f
- https://github.com/zitadel/zitadel/commit/c1a3fc72dde16e987d8a09aa291e7c2edfc928f7
- https://github.com/zitadel/zitadel/commit/c353f82f89c6982c0888c6763363296cf4263cb2
- https://github.com/zitadel/zitadel/commit/d04ac6df8f2f0243e649b802a8bfa6176cef0923
- https://github.com/zitadel/zitadel/commit/f846616a3f022e88e3ea8cea05d3254ad86f1615
- https://github.com/zitadel/zitadel/releases/tag/v2.52.3
- https://github.com/zitadel/zitadel/releases/tag/v2.53.9
- https://github.com/zitadel/zitadel/releases/tag/v2.54.8
- https://github.com/zitadel/zitadel/releases/tag/v2.55.5
- https://github.com/zitadel/zitadel/releases/tag/v2.56.2
- https://github.com/zitadel/zitadel/releases/tag/v2.57.1
- https://github.com/zitadel/zitadel/releases/tag/v2.58.1
- https://github.com/zitadel/zitadel/security/advisories/GHSA-v333-7h2p-5fhv
Provider assertions
2GitHub_M · cna
Zitadel improperly sanitizes HTML in emails and Console UI
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 62faf2f50b51166c57c6204d6d31bdfd7401c4b5c6ff16977f7bd9e96656b9fb
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record