{"id":"CVE-2023-36828","published":"2023-07-05T21:30:06Z","modified":"2024-10-24T18:06:44Z","title":"Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG","vendor":"statamic","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.52323,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/statamic/cms/pull/8408","tags":["x_refsource_MISC"]},{"url":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","tags":["x_refsource_MISC"]},{"url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15","tags":["x_refsource_MISC"]},{"url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40","tags":["x_refsource_MISC"]},{"url":"https://github.com/statamic/cms/releases/tag/v4.10.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"statamic","affectedVersions":[{"vendor":"statamic","product":"cms","versions":["< 4.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-24T17:58:24.228772Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"statamic/cms","vulnerableRanges":["<4.10.0"],"patched":["4.10.0"],"from":["GHSA-6r5g-cq4q-327g"],"provenance":"source"}],"summary":{"text":"The Antlers template engine in Statamic CMS fails to properly sanitize malicious SVG content inside the SVG tag, even when the sanitize function is applied, in versions prior to 4.10.0. An attacker with low-privileged authenticated access who can get a user to interact with crafted content can perform cross-site scripting via SVG, with the attack being network-reachable and requiring a high-complexity condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:34Z"},"euvd":{"id":"EUVD-2023-1981","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-11422","published":"2017-07-24","fixed":"2.6.0","kev":false},{"cve":"CVE-2022-24784","published":"2022-03-25","fixed":"3.3.2","kev":false},{"cve":"CVE-2023-36828","published":"2023-07-05","fixed":"4.10.0","kev":false},{"cve":"CVE-2023-47129","published":"2023-11-10","fixed":"4.33.0","kev":false,"link":{"from":"CVE-2023-36828","to":"CVE-2023-47129","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"4.10.0","toFixed":"4.33.0","daysApart":128}]}},{"cve":"CVE-2023-48217","published":"2023-11-14","fixed":"4.34.0","kev":false},{"cve":"CVE-2023-48701","published":"2023-11-21","fixed":"4.36.0","kev":false}],"package":"Packagist:statamic/cms"}}