Description
BookStack before 26.09.3 contains an incorrect authorization vulnerability that allows authenticated Editors to permanently delete recycle bin content by converting chapters to books or books to shelves. Attackers can trigger TrashCan::destroyEntity() through the conversion actions to force-delete soft-deleted children, revisions and attachments, including content deleted by other users, preventing restoration.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
BookStack BookStack
Default version status: unaffected
0 to < 26.09.3affected
pkg:github/BookStackApp/BookStackReferences
- https://www.bookstackapp.com/blog/bookstack-release-v26-09-3/ ↗
- https://codeberg.org/bookstack/bookstack/commit/c0794b30e0090b12a532cd2a3d5ffb4f317a555f ↗
- https://github.com/BookStackApp/BookStack/commit/c0794b30e0090b12a532cd2a3d5ffb4f317a555f ↗
- https://codeberg.org/bookstack/bookstack/releases/tag/v26.09.3 ↗
- https://github.com/BookStackApp/BookStack/blob/v26.09.2/app/Entities/Tools/HierarchyTransformer.php#L29-L46 ↗
- https://www.vulncheck.com/advisories/bookstack-before-26.09.3-incorrect-authorization-via-chapter-and-book-conversion ↗