MediumGHSA-43cq-c2gq-pfpw
Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section save check
Affected versions
5.0.0-RC1 to before 5.9.21 - fixed in 5.9.21Details
### Summary The `EntriesController::actionMoveToSection()` endpoint checks only whether the current user can view the destination section, but it does not require permission to save entries into that section. A low-privileged authenticated control-panel user who can move an entry out of its current section can therefore move that entry into a different section where they have read access but no write access. ### Details The vulnerable route is implemented in [EntriesController.php](/D:/files/projects/cms-5.9.19/cms-5.9.19/src/controllers/EntriesController.php):465: The destination check is
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