CVE-2023-36828
published medium CVSS 3.1 · 5.5Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| statamic | cms | < 4.10.0 (affected) | GitHub_M · cna |
| statamic | cms | 0 to < 4.10.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- 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/commit/c714893ad92de6e5ede17b501003441af505b30d
- https://github.com/statamic/cms/pull/8408
- https://github.com/statamic/cms/releases/tag/v4.10.0
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
Provider assertions
3GitHub_M · cna
Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fcb7aa8870498a2f9c2450b81fe397ac436d519bb835cf8bc907b2aa46a30300
- Ingested
- 23 Sep 2026, 08:10:01 UTC
- Source record
- Official CVE record