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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low
Affected products
- statamic / cms< 4.10.0 – < 4.10.0
References
- VENDOR_ADVISORYhttps://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
- PATCHhttps://github.com/statamic/cms/pull/8408
- PATCHhttps://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
- MISChttps://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15
- MISChttps://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40
- PATCHhttps://github.com/statamic/cms/releases/tag/v4.10.0