Statamic allows unauthorized content access through missing authorization in its revision controllers
As published by the sources
Affected packages
- Affected
<5.73.16 || >=6.0.0-alpha.1,<6.7.2Fixed in5.73.166.7.2
Derived from the fixed versions above
What to do
Upgrade statamic/cms to the fixed version in your release line: 5.73.16, 6.7.2.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
Impact
Authenticated Control Panel users could view entry revisions for any collection with revisions enabled, regardless of whether they had the required collection permissions. This bypasses the authorization checks that the main entry controllers enforce, exposing entry field values and blueprint data.
Users could also create entry revisions without edit permission, though this only snapshots the existing content state and does not affect published content.
Patches
This has been fixed in 5.73.16 and 6.7.2.