Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| statamic | cms | before 4.10.0 | 4.10.0 | Patch available | CNA |
| — | statamic/cms (Packagist) | before 4.10.0 | 4.10.0 | Patch available | GHSA-6r5g-cq4q-327g |
- cms Vendorstatamic Affected before 4.10.0 Fixed in 4.10.0 Patch available CNA
- statamic/cms (Packagist) Vendor— Affected before 4.10.0 Fixed in 4.10.0 Patch available GHSA-6r5g-cq4q-327g
Remediation
- Fix · CNA cms (statamic) Fixed in 4.10.0
- Fix · GHSA-6r5g-cq4q-327g statamic/cms (Packagist) Fixed in 4.10.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-36828
- 2026-10-03 Alias added: GHSA-6r5g-cq4q-327g
- 2026-10-13 EPSS moved to the 50th–90th percentile
References
Patch 2
Other 4
- 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
- https://github.com/statamic/cms
More Statamic vulnerabilities
- TI-2024-16191 Statamic account takeover via XSS and password reset link CVSS 3.1HIGH 8.2
- TI-2021-20500 A Code Execution vulnerability exists in Statamic Version through 3.2.26 via… CVSS 3.1CRITICAL 9.8
- TI-2023-25469 Statamic CMS remote code execution via front-end form uploads CVSS 3.1CRITICAL 9.8
- TI-2023-26081 Remote code execution via form uploads in statamic/cms CVSS 3.1HIGH 8.8
- TI-2026-21980 Statamic is vulnerable to account takeover via password reset link injection CVSS 3.1CRITICAL 9.3
- TI-2026-25602 Statamic has Stored XSS via SVG Sanitization Bypass CVSS 3.1HIGH 8.7
Sources
- CVE-2023-36828 · CVE Program
- CVE-2023-36828 · NVD
- FIRST EPSS
- GHSA-6r5g-cq4q-327g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences