CVE-2024-41953

Zitadel improperly sanitizes HTML in emails and Console UI

State
Published
Severity
4.3 Medium
Published
Jul 31, 2024
Updated
Aug 1, 2024
Reserved
Jul 24, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
zitadelzitadel
  • >= 2.52.0, < 2.52.3Affected
  • >= 2.53.0, < 2.53.9Affected
  • >= 2.54.0, < 2.54.8Affected
  • >= 2.55.0, < 2.55.5Affected
  • >= 2.56.0, < 2.56.2Affected
  • >= 2.57.0, < 2.57.1Affected
  • >= 2.58.0, < 2.58.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.