CVE-2022-23654: Improper write access check in Requarks/wiki

Published Feb 22, 2022
·
Updated

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 Software

1 affected component
Requarks Wiki.js<2.5.276

Event History

Feb 22, 2022
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-23654?

CVE-2022-23654 is a vulnerability in the Wiki.js wiki app that allows an authenticated user with write access to update a page outside the allowed paths.

2

How does CVE-2022-23654 affect Wiki.js?

In affected versions of Wiki.js (up to version 2.5.276), an authenticated user with write access can update a page outside the allowed paths by specifying a different target page ID while keeping the path intact.

3

What is the severity of CVE-2022-23654?

CVE-2022-23654 has a severity rating of 6.5 (high).

4

How can an attacker exploit CVE-2022-23654?

An attacker can exploit CVE-2022-23654 by exploiting the access control vulnerability in Wiki.js and updating a page outside the allowed paths.

5

How can I fix CVE-2022-23654?

To fix CVE-2022-23654, update your Wiki.js installation to a version that includes the necessary patch, such as version 2.5.277 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203