Incorrect authorization in Wiki.js - #VU165829
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote user to potentially access block metadata and configuration belonging to another site without authorization.
The vulnerability exists due to incorrect authorization in the mayListBlocks() function in backend/api/blocks.ts when handling requests to GET /sites/:siteId/blocks. A remote user can request block definitions for another site using page-authoring permissions restricted to a different site to potentially gain unauthorized access, because the function checks for write:pages or manage:pages permissions without verifying that the granting rule applies to the requested site.