# CVE-2022-31167: XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/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.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-09-07T13:55:11.000Z
- Modified: 2026-06-17T04:44:56.900Z
- Also known as: GHSA-gg53-wf5x-r3r6
- Weaknesses: CWE-285, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 5.0, < 12.10.11; >= 13.0, < 13.4.6; >= 13.10, < 13.10.1
- org.xwiki.platform:xwiki-platform-security (Maven): from 5.0 before 12.10.11; from 13.0 before 13.4.6; from 13.10 before 13.10.1
- xwiki xwiki: from 5.0 before 12.10.11; from 13.0 before 13.4.6; from 13.5 before 13.10.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/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`

## 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-18983> (exploit, issue-tracking, vendor-advisory, web)
- <https://jira.xwiki.org/browse/XWIKI-14075> (permissions-required, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31167> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2022-31167](https://www.cve.org/CVERecord?id=CVE-2022-31167), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-gg53-wf5x-r3r6](https://github.com/advisories/GHSA-gg53-wf5x-r3r6), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-31167](https://nvd.nist.gov/vuln/detail/CVE-2022-31167), Public domain, modified 2026-06-17

---

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