{"id":"CVE-2023-36828","state":"PUBLISHED","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.","publishedAt":"2023-07-05T21:30:06.196Z","updatedAt":"2024-10-24T18:06:44.250Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["statamic cms"],"affected":[{"vendor":"statamic","product":"cms","versions":[{"version":"< 4.10.0","status":"affected"}]}],"references":["https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","https://github.com/statamic/cms/pull/8408","https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15","https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40","https://github.com/statamic/cms/releases/tag/v4.10.0"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:06:08.715Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/36xxx/CVE-2023-36828.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-36828","state":"PUBLISHED","datePublished":"2023-07-05T21:30:06.196Z","dateUpdated":"2024-10-24T18:06:44.250Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-06-27T15:43:18.388Z"},"containers":{"cna":{"title":"Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"statamic","product":"cms","versions":[{"version":"< 4.10.0","status":"affected"}]}],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","name":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/statamic/cms/pull/8408","name":"https://github.com/statamic/cms/pull/8408","tags":["x_refsource_MISC"]},{"url":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","name":"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","name":"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","name":"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","name":"https://github.com/statamic/cms/releases/tag/v4.10.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-07-05T21:30:06.196Z"},"source":{"advisory":"GHSA-6r5g-cq4q-327g","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","name":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/statamic/cms/pull/8408","name":"https://github.com/statamic/cms/pull/8408","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","name":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15","name":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40","name":"https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/statamic/cms/releases/tag/v4.10.0","name":"https://github.com/statamic/cms/releases/tag/v4.10.0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T17:01:09.623Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"statamic","product":"cms","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"4.10.0","versionType":"custom"}],"cpes":["cpe:2.3:a:statamic:cms:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-24T17:58:24.228772Z","id":"CVE-2023-36828","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-24T18:06:44.250Z"}}]}}}