{"id":"CVE-2022-23654","state":"PUBLISHED","title":"Improper write access check in Requarks/wiki","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.","publishedAt":"2022-02-22T20:05:11.000Z","updatedAt":"2025-04-23T19:02:06.747Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Requarks wiki"],"affected":[{"vendor":"Requarks","product":"wiki","versions":[{"version":"< 2.5.276","status":"affected"}]}],"references":["https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j","https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b"],"weaknesses":["CWE-287"],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23654.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-23654","state":"PUBLISHED","datePublished":"2022-02-22T20:05:11.000Z","dateUpdated":"2025-04-23T19:02:06.747Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-01-19T00:00:00.000Z"},"containers":{"cna":{"title":"Improper write access check in Requarks/wiki","descriptions":[{"lang":"en","value":"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":[{"vendor":"Requarks","product":"wiki","versions":[{"version":"< 2.5.276","status":"affected"}]}],"references":[{"url":"https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","description":"CWE-287: Improper Authentication","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-02-22T20:05:10.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-3cv9-795v-6j7j","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-23654","STATE":"PUBLIC","TITLE":"Improper write access check in Requarks/wiki"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"wiki","version":{"version_data":[{"version_value":"< 2.5.276"}]}}]},"vendor_name":"Requarks"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-287: Improper Authentication"}]}]},"references":{"reference_data":[{"name":"https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j","refsource":"CONFIRM","url":"https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j"},{"name":"https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b","refsource":"MISC","url":"https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b"}]},"source":{"advisory":"GHSA-3cv9-795v-6j7j","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:51:44.191Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T15:55:50.514144Z","id":"CVE-2022-23654","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T19:02:06.747Z"}}]}}}