Description
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.74.0 and 6.20.3, the Live Preview endpoint for existing entries and terms in src/Http/Controllers/CP/PreviewController.php only checked view authorization, but it accepts and renders caller-supplied field values. A Control Panel user with view but not edit permission could therefore submit content they were not authorized to author and generate a shareable Live Preview URL rendering it. This issue is fixed in versions 5.74.0 and 6.20.3.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
statamic cms
< 5.74.0affected>= 6.0.0, < 6.20.3affected
References
- https://github.com/statamic/cms/security/advisories/GHSA-7mqq-4v55-88gh ↗
- https://github.com/statamic/cms/pull/14791 ↗
- https://github.com/statamic/cms/commit/87b9998f4d9e40de53346402ccf6eb3c17ba168f ↗
- https://github.com/statamic/cms/releases/tag/v5.74.0 ↗
- https://github.com/statamic/cms/releases/tag/v6.20.3 ↗