CVE-2024-41953

Zitadel improperly sanitizes HTML in emails and Console UI

Published Jul 31, 2024 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

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-2416 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.
Github GHSA Github GHSA GHSA-v333-7h2p-5fhv ZITADEL has improper HTML sanitization in emails and Console UI
History
Type Values Removed Values Added
First Time appeared Zitadel
Zitadel zitadel
CPEs cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.57.0:-:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.57.0:rc1:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.57.0:rc2:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.58.0:*:*:*:*:*:*:*
Vendors & Products Zitadel
Zitadel zitadel
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 1, 2024, 1:48 PM
Reserved
Jul 24, 2024, 4:51 PM
Status
Analyzed
Published
Jul 31, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:48 AM