CVE-2023-36828 json
Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
published 2023-07-05 3 y ago modified 2026-09-10 1 mo ago also GHSA-6r5g-cq4q-327g , EUVD-2023-1981
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist statamic/cms 4.10.0
- statamic cms 4.10.0
- github.com/statamic/cms@c714893 commit
- github.com/statamic/cms#8408 pull request
- github.com/statamic/cms/releases/tag/v4.10.0 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | statamic/cms | <4.10.0 |
4.10.0 |
Affected products
- statamic cms
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/statamic/cms/pull/8408
web, patch
-
github.com
/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
web, patch
-
github.com
/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
web, exploit, vendor-advisory
-
github.com
/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeC
web, product
-
github.com
/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40
web, product
-
github.com
/statamic/cms/releases/tag/v4.10.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-36828
advisory
-
github.com
/statamic/cms
package
Sources
- CVE List CVE-2023-36828
- GitHub Advisory GHSA-6r5g-cq4q-327g
- NVD CVE-2023-36828
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.