Incorrect authorization in Wiki.js - #VU165825
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote user to delete pages and permanently delete uploaded files without the required deletion permissions in folders they manage.
The vulnerability exists due to incorrect authorization in the Wiki.js folder deletion endpoint when handling folder deletion requests. A remote user can send a DELETE request to /_api/sites/:siteId/tree/folders/:folderId with manage:pages permission on the folder to delete all descendant pages and uploaded files without delete:pages or manage:assets permission, even when explicit rules deny those permissions.