HighGHSA-qq2c-2q8j-jh27
Craft CMS: Authorship spoofing in `entries/save-entry` via pre-check/post-mutation authorization gap
Affected versions
5.0.0-RC1 to before 5.9.21 - fixed in 5.9.21Details
### Summary `EntriesController::actionSaveEntry()` performs entry-edit permission checks before request-controlled author changes are applied to the model. The subsequent author mutation path accepts attacker-supplied `authors` / `author` parameters and allows the change when the current user is one of the old authors. Because the controller does not re-run authorization after mutating the author list, a low-privileged user can reassign an entry’s authorship to another user without holding the dedicated peer-author-change permission. ### Details The control flow begins in [EntriesController.
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected