CVE-2022-31167
MEDIUM 6.5CVSS 3.1XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference
XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.
- Published
- 7 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-285CWE-862
- Also known as
- GHSA-gg53-wf5x-r3r6
- Sources
- NVDJSONOSV GHSA-gg53-wf5x-r3r6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 5.0, < 12.10.11 | 12.10.11 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 13.0, < 13.4.6 | 13.4.6 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 13.5, < 13.10.1 | 13.10.1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-security | >= 5.0, < 12.10.11 | 12.10.11 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-security | >= 13.0, < 13.4.6 | 13.4.6 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-security | >= 13.10, < 13.10.1 | 13.10.1 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-14075 · Permissions Required, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-18983 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31167 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Sep 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Sep 2022)