CVE-2023-36828
Statamic vulnerability
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 products
Statamic. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Statamic runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g · Exploit
- github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d · Patch
- github.com/statamic/cms/pull/8408 · Patch
- github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers
- github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36
- github.com/statamic/cms/releases/tag/v4.10.0
- nvd.nist.gov/vuln/detail/CVE-2023-36828
- cve.org/CVERecord?id=CVE-2023-36828
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.