Servers and applications
CVE-2023-36828
Antlers sanitizer cannot effectively sanitize malicious SVG
- Severity
- Medium 5.4
- Published
- 5 Jul 2023
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 4.10.0
- Also known as
- GHSA-6r5g-cq4q-327g
- Sources
- NVD, Project advisories (GitHub)
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.
Affected software
| Software | Affected versions |
|---|---|
StatamicServers and applications · cpe:a:statamic:statamic |
|
StatamicServers and applications · github:statamic/cms |
|
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2023-36828
- CVE.org https://www.cve.org/CVERecord?id=CVE-2023-36828
- GitHub Advisory Database https://github.com/advisories/GHSA-6r5g-cq4q-327g
- github.com https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g