What’s Vulnerable › Vulnerabilities
CVE-2022-23654: Improper write access check in Requarks/wiki
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-22 · updated 2026-06-17
- Weakness: CWE-287
Description
Wiki.js is a wiki app built on Node.js. In affected versions an authenticated user with write access on a restricted set of paths can update a page outside the allowed paths by specifying a different target page ID while keeping the path intact. The access control incorrectly check the path access against the user-provided values instead of the actual path associated to the page ID. Commit https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b fixes this vulnerability by checking access control on the path associated with the page ID instead of the user-provided value. When the path is different than the current value, a second access control check is then performed on the user-provided path before the move operation.
Affected products
- Requarks wiki: before 2.5.276 — fixed in 2.5.276
How to fix
Upgrade to a fixed version: Requarks wiki 2.5.276. Check the vendor advisory for mitigations.
References
- https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b
- https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j
- https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b
- https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j
Get alerted when CVE-2022-23654 or the next vulnerability affects your stack