{"cve":"CVE-2024-41953","nvd":{"published":"2024-07-31T17:15:10.850","modified":"2026-06-17T07:48:31.153","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["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"],"products":["zitadel:zitadel"],"source":"nvd","synced_at":"2026-10-19T21:53:51.317825789+00:00"},"epss":{"cve":"CVE-2024-41953","score":0.0065,"percentile":0.51185,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v333-7h2p-5fhv","url":"https://osv.dev/vulnerability/GHSA-v333-7h2p-5fhv","summary":"ZITADEL has improper HTML sanitization in emails and Console UI","modified":"2025-07-09T15:00:31Z","packages":[{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=1.80.1 <2.52.3"],"fixed":["2.52.3"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=2.53.0 <2.53.9"],"fixed":["2.53.9"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=2.54.0 <2.54.8"],"fixed":["2.54.8"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=2.55.0 <2.55.5"],"fixed":["2.55.5"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=2.56.0 <2.56.2"],"fixed":["2.56.2"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=2.57.0 <2.57.1"],"fixed":["2.57.1"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=2.58.0 <2.58.1"],"fixed":["2.58.1"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":["<0.0.0-20240731122110-189505c80fa6"],"fixed":["0.0.0-20240731122110-189505c80fa6"]},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":[">=0.0.0 <1.80.0-v2.20.0.20240731122110-189505c80fa6"],"fixed":["1.80.0-v2.20.0.20240731122110-189505c80fa6"]}]},{"id":"GO-2024-3015","url":"https://osv.dev/vulnerability/GO-2024-3015","summary":"ZITADEL has improper HTML sanitization in emails and Console UI in github.com/zitadel/zitadel","modified":"2024-08-06T22:27:06.659093Z","packages":[{"ecosystem":"Go","name":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}