A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Craft CMS versions >= 5.0.0-RC1 and < 5.10.11 fail to perform an independent authorization check in ElementsController::actionDeleteForSite(). The method loads an element with checkForProvisionalDraft enabled and runs the deletion authorization check against the user's own provisional draft (which only verifies draft ownership), then propagates the deletion to the canonical element without re-checking permissions. As a result, an authenticated user who has viewEntries, viewPeerEntries, saveEntries, savePeerEntries, and editSite permissions but lacks the deleteEntriesForSite permission can hard-delete a canonical entry's site record (and, for single-site entries, the full element and content), which is irrecoverable via Craft's recycle bin.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /craftcms/cms/security/advisories/GHSA-5fh8-74j8-mvcp
- www.vulncheck.com /advisories/craft-cms-before-5.10.11-authorization-bypass-v…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning