{"api_version":"1","generated_at":"2026-04-23T00:18:47+00:00","cve":"CVE-2023-36828","urls":{"html":"https://cve.report/CVE-2023-36828","api":"https://cve.report/api/cve/CVE-2023-36828.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-36828","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-36828"},"summary":{"title":"CVE-2023-36828","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-07-05 22:15:00","updated_at":"2023-07-12 15:48:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","name":"https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d","refsource":"MISC","tags":[],"title":"[4.x] SVG tag sanitization (#8408) · statamic/cms@c714893 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","name":"https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g","refsource":"MISC","tags":[],"title":"Antlers sanitizer cannot effectively sanitize malicious SVG · Advisory · statamic/cms · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"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","refsource":"MISC","tags":[],"title":"cms/src/Tags/Svg.php at f806b6b007ddcf066082eef175653c5beaa96d60 · statamic/cms · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"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","refsource":"MISC","tags":[],"title":"cms/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php at f806b6b007ddcf066082eef175653c5beaa96d60 · statamic/cms · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/statamic/cms/pull/8408","name":"https://github.com/statamic/cms/pull/8408","refsource":"MISC","tags":[],"title":"[4.x] SVG tag sanitization by jasonvarga · Pull Request #8408 · statamic/cms · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/statamic/cms/releases/tag/v4.10.0","name":"https://github.com/statamic/cms/releases/tag/v4.10.0","refsource":"MISC","tags":[],"title":"Release v4.10.0 · statamic/cms · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-36828","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36828","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"36828","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"statamic","cpe5":"statamic","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}]}},"nvd":{"publishedDate":"2023-07-05 22:15:00","lastModifiedDate":"2023-07-12 15:48:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:statamic:statamic:*:*:*:*:*:*:*:*","versionEndExcluding":"4.10.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}