{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-28855",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "ZITADEL, open source authentication management software, uses Go templates to render the login UI. Due to a improper use of the `text/template` instead of the `html/template` package, the Login UI did not sanitize input parameters prior to versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15. An attacker could create a malicious link, where he injected code which would be rendered as part of the login screen. While it was possible to inject HTML including JavaScript, the execution of such scripts would be prevented by the Content Security Policy. Versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15 contain a patch for this issue. No known workarounds are available."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20: Improper Input Validation",
                        "cweId": "CWE-20"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "zitadel",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "zitadel",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 2.41.15"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.42.0, < 2.42.15"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.43.0, < 2.43.9"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.44.0, < 2.44.3"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "= 2.45.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "= 2.46.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.47.0, < 2.47.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.41.15",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.41.15"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.15",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.42.15"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.9",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.43.9"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.3",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.44.3"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.1",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.45.1"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.1",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.46.1"
            },
            {
                "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.3",
                "refsource": "MISC",
                "name": "https://github.com/zitadel/zitadel/releases/tag/v2.47.3"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-hfrg-4jwr-jfpj",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
                "version": "3.1"
            }
        ]
    }
}