ADVISORIES

GitHub Advisory Database

GHSA-7mqq-4v55-88gh

Statamic CMS's incorrect authorization lets view-only users submit Live Preview content reserved for editors

Details

Impact

The Live Preview endpoint for existing entries and terms 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.

Patches

This has been fixed in 5.74.0 and 6.20.3.

Affected packages

EcosystemPackageAffected versions
Packagiststatamic/cms
All versions before 5.74.0 (fixed in 5.74.0)
Packagiststatamic/cms
From 6.0.0 before 6.20.3 (fixed in 6.20.3)

References