{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2023-30179",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-08-02T14:21:44.660Z",
        "dateReserved": "2023-04-07T00:00:00",
        "datePublished": "2023-06-13T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2023-06-28T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User Settings, lead to Remote Code Execution. NOTE: the vendor disputes this because only Administrators can add this Twig code, and (by design) Administrators are allowed to do that by default."
                }
            ],
            "tags": [
                "disputed"
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14"
                },
                {
                    "url": "https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection"
                },
                {
                    "url": "https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200"
                },
                {
                    "url": "https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T14:21:44.660Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}