Craftcms cms
GQL entry mutation `siteId` bypasses schema site scope, enabling cross-site content read/write/delete
Craft CMS GraphQL entry mutation resolvers (saveEntry, deleteEntry) read siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via array_intersect against the GraphQL schema’s allowed sites. The query path (ElementResolverprepareElementQuery) correctly calls prepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely — an attacker with a token scoped to Site A can create, modify, or delete entries in Site B by passing siteId in the mutations argument.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0-RC1, < 5.10.11
Fixed in 5.10.11
Mitigation
Upgrade cms to 5.10.11 or later.
References
- Mitigation hckrt.com/hacktivity/HCKRT-XEQKMX
- Release notes github.com/craftcms/cms/releases/tag/5.10.11
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.