Description
Craft CMS from 5.7.0 before 5.11.2 contains an arbitrary file read vulnerability that allows authenticated control panel users to read SVG files by posting arbitrary paths to the app/icon-svg endpoint. Attackers can supply aliases or absolute paths, which are resolved without permission checks, to read any SVG-content file readable by the PHP process, including files outside the Craft installation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| craftcms | cms | 5.7.0 – < 5.11.2 | 5.11.2 |
References
- GitHub Security Advisory (GHSA-5v62-pcq7-fxj9) vendor-advisory
- VulnCheck Advisory: Craft CMS 5.7.0 before 5.11.2 Arbitrary SVG File Read via app/icon-svg third-party-advisory