GHSA-m92m-r54r-x8r2
Statamic CMS's unsafe method invocation via collection sorting allows data destruction
Quick fix
GHSA-m92m-r54r-x8r2 — statamic/cms: upgrade to the fixed version with the command below.
composer require statamic/cms:^5.73.23Details
### Impact
The fix for GHSA-4jjr-vmv7-wh4w was incomplete. It addressed the issue in the query builder, but the same protection was not applied to in-memory collection sorting. Manipulating sort parameters could result in the loss of content and assets.
This requires a front-end template that passes request input into a tag's sort parameter. It is not exploitable by default — a template would need to be explicitly set up to sort by a visitor-controlled value.
### Patches
This has been fixed in 5.73.23 and 6.20.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/statamic/cms"]}'