Wiki.js is an open source wiki app built on Node.js. Prior to 2.5.313, the users.update GraphQL mutation accepts an arbitrary groups array and applies it directly to the database with no validation of the group IDs supplied. The resolver passes the caller's arguments straight to the model without any ownership check or restriction on which groups can be assigned. A user with manage:users — a permission typically delegated to wiki moderators for account management — can set groups:[1] on their own account to self-assign to the Administrators group. After re-authentication, the fresh JWT carries manage:system, granting full site administrator access in a single mutation call. This vulnerability is fixed in 2.5.313.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv Exploit, Mitigation, Vendor Advisory
- https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.6 · requarksNVD modified 2026-10-26 17:10
Affected (CPE criteria) 1
cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:*
References 2
- https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv Exploit, Mitigation, Vendor Advisory
- https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv Exploit, Mitigation, Vendor Advisory