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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2022-02-22T20:05:11.000Z
- Modified: 2026-06-17T04:30:34.447Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Requarks wiki: < 2.5.276
- requarks wiki.js: before 2.5.276

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j> (patch, third-party-advisory)
- <https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-23654](https://www.cve.org/CVERecord?id=CVE-2022-23654), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-23654](https://nvd.nist.gov/vuln/detail/CVE-2022-23654), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23654 · Whole record: https://cve.day/CVE-2022-23654.json · Rebuilt by cve.day 2026-11-25T22:58:09.791Z
