# CVE-2024-41953: Zitadel improperly sanitizes HTML in emails and Console UI

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 64% of CVEs (2026-11-30)
- Published: 2024-07-31T16:42:33.125Z
- Modified: 2026-06-17T07:48:31.153Z
- Also known as: GHSA-v333-7h2p-5fhv, GO-2024-3015
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- 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; from 2.52.0 before 2.52.3; from 2.53.0 before 2.53.9; from 2.54.0 before 2.54.8; from 2.55.0 before 2.55.5; from 2.56.0 before 2.56.2; and 2 more
- github.com/zitadel/zitadel (Go): from 1.80.1 before 2.52.3; from 2.53.0 before 2.53.9; from 2.54.0 before 2.54.8; from 2.55.0 before 2.55.5; from 2.56.0 before 2.56.2; from 2.57.0 before 2.57.1; from 2.58.0 before 2.58.1; before 0.0.0-20240731122110-189505c80fa6; from 0.0.0 before 1.80.0-v2.20.0.20240731122110-189505c80fa6; all versions

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/zitadel/zitadel/security/advisories/GHSA-v333-7h2p-5fhv> (advisory, vendor-advisory, web)
- <https://github.com/zitadel/zitadel/commit/0e1f99e987b5851caec45a72660fe9f67e425747> (fix, patch, web)
- <https://github.com/zitadel/zitadel/commit/38da602ee1cfc35c0d7918c298fbfc3f3674133b> (fix, patch, web)
- <https://github.com/zitadel/zitadel/commit/4b59cac67bb89c1f3f84a2041dd273d11151d29f> (fix, patch, web)
- <https://github.com/zitadel/zitadel/commit/c1a3fc72dde16e987d8a09aa291e7c2edfc928f7> (fix, patch, web)
- <https://github.com/zitadel/zitadel/commit/c353f82f89c6982c0888c6763363296cf4263cb2> (fix, patch, web)
- <https://github.com/zitadel/zitadel/commit/d04ac6df8f2f0243e649b802a8bfa6176cef0923> (fix, patch, web)
- <https://github.com/zitadel/zitadel/commit/f846616a3f022e88e3ea8cea05d3254ad86f1615> (fix, patch, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2024-41953> (advisory)
- <https://pkg.go.dev/vuln/GO-2024-3015> (web)
- <https://github.com/zitadel/zitadel> (package)

## Sources

- CVE List: [CVE-2024-41953](https://www.cve.org/CVERecord?id=CVE-2024-41953), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-v333-7h2p-5fhv](https://github.com/advisories/GHSA-v333-7h2p-5fhv), CC-BY-4.0, modified 2025-07-09
- Go Vulnerability Database: [GO-2024-3015](https://pkg.go.dev/vuln/GO-2024-3015), CC-BY-4.0, modified 2024-08-06
- NVD: [CVE-2024-41953](https://nvd.nist.gov/vuln/detail/CVE-2024-41953), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41953 · Whole record: https://cve.day/CVE-2024-41953.json · Rebuilt by cve.day 2026-11-25T22:58:43.480Z
