{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-41953",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-07-24T16:51:40.949Z",
        "datePublished": "2024-07-31T16:42:33.125Z",
        "dateUpdated": "2024-08-01T13:48:32.705Z"
    },
    "containers": {
        "cna": {
            "title": "Zitadel improperly sanitizes HTML in emails and Console UI",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/zitadel/zitadel/security/advisories/GHSA-v333-7h2p-5fhv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-v333-7h2p-5fhv"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/0e1f99e987b5851caec45a72660fe9f67e425747",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/0e1f99e987b5851caec45a72660fe9f67e425747"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/38da602ee1cfc35c0d7918c298fbfc3f3674133b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/38da602ee1cfc35c0d7918c298fbfc3f3674133b"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/4b59cac67bb89c1f3f84a2041dd273d11151d29f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/4b59cac67bb89c1f3f84a2041dd273d11151d29f"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/c1a3fc72dde16e987d8a09aa291e7c2edfc928f7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/c1a3fc72dde16e987d8a09aa291e7c2edfc928f7"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/c353f82f89c6982c0888c6763363296cf4263cb2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/c353f82f89c6982c0888c6763363296cf4263cb2"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/d04ac6df8f2f0243e649b802a8bfa6176cef0923",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/d04ac6df8f2f0243e649b802a8bfa6176cef0923"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/commit/f846616a3f022e88e3ea8cea05d3254ad86f1615",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/commit/f846616a3f022e88e3ea8cea05d3254ad86f1615"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.52.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.52.3"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.53.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.53.9"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.54.8",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.54.8"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.55.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.55.5"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.56.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.56.2"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.57.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.57.1"
                },
                {
                    "name": "https://github.com/zitadel/zitadel/releases/tag/v2.58.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zitadel/zitadel/releases/tag/v2.58.1"
                }
            ],
            "affected": [
                {
                    "vendor": "zitadel",
                    "product": "zitadel",
                    "versions": [
                        {
                            "version": ">= 2.52.0, < 2.52.3",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.53.0, < 2.53.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.54.0, < 2.54.8",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.55.0, < 2.55.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.56.0, < 2.56.2",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.57.0, < 2.57.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.58.0, < 2.58.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-07-31T16:42:33.125Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-v333-7h2p-5fhv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-01T13:48:22.254696Z",
                                "id": "CVE-2024-41953",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-01T13:48:32.705Z"
                }
            }
        ]
    }
}