CVEvulnerability
CVE-2023-36828
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-07-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• statamic statamic (< 4.10.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15 Product
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40 Product
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d Patch
- https://github.com/statamic/cms/pull/8408 Patch
- https://github.com/statamic/cms/releases/tag/v4.10.0 Release Notes
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g Exploit, Vendor Advisory
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15 Product
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40 Product
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d Patch
- https://github.com/statamic/cms/pull/8408 Patch
- https://github.com/statamic/cms/releases/tag/v4.10.0 Release Notes
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g Exploit, Vendor Advisory