{"id":"CVE-2023-36828","summary":"Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG","details":"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.","aliases":["GHSA-6r5g-cq4q-327g"],"modified":"2026-08-12T03:51:29.510637452Z","published":"2023-07-05T21:30:06.196Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36828.json"},"references":[{"type":"WEB","url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15"},{"type":"WEB","url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40"},{"type":"WEB","url":"https://github.com/statamic/cms/releases/tag/v4.10.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36828.json"},{"type":"ADVISORY","url":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36828"},{"type":"FIX","url":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d"},{"type":"FIX","url":"https://github.com/statamic/cms/pull/8408"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/statamic/cms","events":[{"introduced":"0"},{"fixed":"5261b3ba40707d013eeeedf6e8e9b225b22b5f8f"},{"fixed":"c714893ad92de6e5ede17b501003441af505b30d"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:statamic:statamic:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.10.0"}]}}],"versions":["v4.9.2","v4.9.1","v4.9.0","v4.8.0","v4.7.0","v4.6.0","v4.5.0","v4.4.0","v4.3.0","v4.2.0","v4.1.3","v4.1.2","v4.1.1","v4.1.0","v4.0.0","v4.0.0-beta.4","v4.0.0-beta.3","v4.0.0-beta.2","v4.0.0-beta.1","v4.0.0-alpha.5","v4.0.0-alpha.4","v4.0.0-alpha.3","v4.0.0-alpha.2","v4.0.0-alpha.1","v3.4.2","v3.4.1","v3.4.0","v3.3.16","v3.3.15","v3.3.14","v3.3.13","v3.3.12","v3.3.11","v3.3.10","v3.3.9","v3.3.8","v3.3.7","v3.3.6","v3.3.5","v3.3.4","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.3.0-beta.7","v3.3.0-beta.6","v3.3.0-beta.5","v3.3.0-beta.4","v3.3.0-beta.3","v3.3.0-beta.2","v3.3.0-beta.1","v3.2.30","v3.2.29","v3.2.28","v3.2.27","v3.2.26","v3.2.25","v3.2.24","v3.2.23","v3.2.22","v3.2.21","v3.2.20","v3.2.19","v3.2.18","v3.2.17","v3.2.16","v3.2.15","v3.2.14","v3.2.13","v3.2.12","v3.2.11","v3.2.10","v3.2.9","v3.2.8","v3.2.7","v3.2.6","v3.2.5","v3.2.4","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.2.0-beta.1","v3.1.0","v3.1.0-beta.3","v3.1.0-beta.2","v3.1.0-beta.1","v3.1.0-alpha.4","v3.1.0-alpha.3","v3.1.0-alpha.2","v3.1.0-alpha.1","v3.0.35","v3.0.34","v3.0.33","v3.0.32","v3.0.31","v3.0.30","v3.0.29","v3.0.28","v3.0.27","v3.0.26","v3.0.25","v3.0.24","v3.0.23","v3.0.22","v3.0.21","v3.0.20","v3.0.19","v3.0.18","v3.0.17","v3.0.16","v3.0.15","v3.0.14","v3.0.13","v3.0.12","v3.0.11","v3.0.10","v3.0.9","v3.0.8","v3.0.7","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v3.0.0-beta.46","v3.0.0-beta.45","v3.0.0-beta.44","v3.0.0-beta.43","v3.0.0-beta.42","v3.0.0-beta.41","v3.0.0-beta.40","v3.0.0-beta.39","v3.0.0-beta.38","v3.0.0-beta.37","v3.0.0-beta.36","v3.0.0-beta.35","v3.0.0-beta.34","v3.0.0-beta.33","v3.0.0-beta.32","v3.0.0-beta.31","v3.0.0-beta.30","v3.0.0-beta.29","v3.0.0-beta.28","v3.0.0-beta.27","v3.0.0-beta.26","v3.0.0-beta.25","v3.0.0-beta.17","v3.0.0-beta.16","v3.0.0-beta.15"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-36828.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"}]}