{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-36828",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Statamic is a flat-first, Laravel and Git powered content management system. Prior to version 4.10.0, the SVG tag does not sanitize malicious SVG. Therefore, an attacker can exploit this vulnerability to perform cross-site scripting attacks using SVG, even when using the `sanitize` function. Version 4.10.0 contains a patch for this issue."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                        "cweId": "CWE-79"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "statamic",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "cms",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 4.10.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g",
                "refsource": "MISC",
                "name": "https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g"
            },
            {
                "url": "https://github.com/statamic/cms/pull/8408",
                "refsource": "MISC",
                "name": "https://github.com/statamic/cms/pull/8408"
            },
            {
                "url": "https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d",
                "refsource": "MISC",
                "name": "https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d"
            },
            {
                "url": "https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15",
                "refsource": "MISC",
                "name": "https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15"
            },
            {
                "url": "https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40",
                "refsource": "MISC",
                "name": "https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40"
            },
            {
                "url": "https://github.com/statamic/cms/releases/tag/v4.10.0",
                "refsource": "MISC",
                "name": "https://github.com/statamic/cms/releases/tag/v4.10.0"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-6r5g-cq4q-327g",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L",
                "version": "3.1"
            }
        ]
    }
}