{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-36828","id":"CVE-2023-36828","title":"Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG","description":"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.","descriptionLong":"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.","published":"2023-07-05T21:30:06.196Z","updated":"2026-11-11T10:30:26.210867551Z","reserved":"2023-06-27T15:43:18.388Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["statamic cms"],"affectedProducts":[{"vendor":"statamic","product":"cms","defaultStatus":null,"versions":[{"version":"< 4.10.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"statamic/cms","purl":"pkg:composer/statamic/cms","ranges":["<4.10.0"],"fixed":["4.10.0"],"advisory":"GHSA-6r5g-cq4q-327g"}],"cwes":["CWE-79"],"aliases":["GHSA-6r5g-cq4q-327g"],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/statamic/cms/pull/8408","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/statamic/cms/releases/tag/v4.10.0","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36828.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36828","tags":["advisory"]},{"url":"https://github.com/statamic/cms","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00655,"epssPercentile":0.52182,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-36828","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36828","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-36828","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6r5g-cq4q-327g","ok":true,"note":"GHSA-6r5g-cq4q-327g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-36828","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}