Description
Wiki.js through 2.5.314 omits page tags from authorization checks in multiple GraphQL resolvers, allowing tag-based access restrictions to be bypassed. Attackers can query the list, tree, tags, searchTags, and links resolvers to retrieve restricted page metadata including titles, descriptions, paths, and tag information without proper authorization.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
requarks Wiki.js
Default version status: unaffected
0 to ≤ 2.5.314affected
References
- https://github.com/geo-chen/oss/blob/main/wiki.md#finding-1-tag-based-page-rule-access-restrictions-bypassed-in-pageslisttreetagslinks-graphql-queries-leaking-restricted-page-metadata ↗
- https://github.com/requarks/wiki/blob/v2.5.314/server/graph/resolvers/page.js#L136-L139 ↗
- https://github.com/requarks/wiki/blob/v2.5.314/server/graph/resolvers/page.js#L58-L62 ↗
- https://github.com/requarks/wiki ↗
- https://www.vulncheck.com/advisories/wiki-js-through-2.5.314-authorization-bypass-via-graphql-tag-omission ↗