CVE-2023-36828
published 2023-07-05CVE-2023-36828: 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…
PriorityP426medium5.4CVSS 3.1
AVNACLPRLUIRSCCLILAN
EPSS
0.55%
41.8th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| statamic | cms | < 4.10.0 | 4.10.0 |
| statamic | cms | >= 0 < 4.10.0 | 4.10.0 |
| statamic | statamic | < 4.10.0 | 4.10.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
osv·2023-07-06
CVE-2023-36828 [MEDIUM] Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
Antlers sanitizer cannot effectively sanitize malicious SVG
### Summary
The SVG tag does not sanitize malicious SVG. Therefore, an attacker can exploit this vulnerability to perform XSS attacks using SVG, even when using the `sanitize` function.
### Details
Regarding the previous discussion mentioned [here](https://github.com/statamic/cms/security/advisories/GHSA-jvw9-rrc5-39g6#advisory-comment-84322), it has been identified that the default blacklist in the **FilesFieldtypeController** (located at this [link](https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15)) only blocks certain file extensions such as php, php3, php4, p
GHSA
Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
ghsa·2023-07-06
CVE-2023-36828 [MEDIUM] CWE-79 Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
Statamic's Antlers sanitizer cannot effectively sanitize malicious SVG
Antlers sanitizer cannot effectively sanitize malicious SVG
### Summary
The SVG tag does not sanitize malicious SVG. Therefore, an attacker can exploit this vulnerability to perform XSS attacks using SVG, even when using the `sanitize` function.
### Details
Regarding the previous discussion mentioned [here](https://github.com/statamic/cms/security/advisories/GHSA-jvw9-rrc5-39g6#advisory-comment-84322), it has been identified that the default blacklist in the **FilesFieldtypeController** (located at this [link](https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15)) only blocks certain file extensions such as php, php3, php4, p
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30dhttps://github.com/statamic/cms/pull/8408https://github.com/statamic/cms/releases/tag/v4.10.0https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327ghttps://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30dhttps://github.com/statamic/cms/pull/8408https://github.com/statamic/cms/releases/tag/v4.10.0https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
2023-07-05
Published