GHSA-4jjr-vmv7-wh4w
Statamic: Unsafe method invocation via query value resolution allows data destruction
Quick fix
GHSA-4jjr-vmv7-wh4w — statamic/cms: upgrade to the fixed version with the command below.
composer require statamic/cms:^5.73.20Details
### Impact
Manipulating query parameters on Control Panel and REST API endpoints, or arguments in GraphQL queries, could result in the loss of content, assets, and user accounts.
The Control Panel requires authentication with minimal permissions in order to exploit. e.g. "view entries" permission to delete entries, or "view users" permission to delete users, etc.
The REST and GraphQL API exploits do not require any permissions, however neither are enabled by default. In order to be exploited, they would need to be explicitly enabled with no authentication configured, and the specific resources enabled too.
Sites that enable the REST or GraphQL API without authentication should treat patching as critical priority.
### Patches
This has been fixed in 5.73.20 and 6.13.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
6.0.0-alpha.1Fixed in: 6.13.0composer require statamic/cms:^6.13.0References
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"]}'