CVE-2023-36828
MEDIUM 5.4CVSS 3.1Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
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
- 5 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-6r5g-cq4q-327g
- Sources
- NVDJSONOSV GHSA-6r5g-cq4q-327gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | statamic | statamiccpe:2.3:a:statamic:statamic:*:*:*:*:*:*:*:* |
< 4.10.0 | 4.10.0 |
| OSV | Packagist | statamic/cms | < 4.10.0 | 4.10.0 |
References
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15 · Product, WEB
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40 · Product, WEB
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d · Patch, WEB
- https://github.com/statamic/cms/pull/8408 · Patch, WEB
- https://github.com/statamic/cms/releases/tag/v4.10.0 · Release Notes, WEB
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-36828 · ADVISORY
- https://github.com/statamic/cms · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 5 Jul 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Jul 2023)