{"id":"CVE-2022-31167","aliases":["EUVD-2022-6821","GHSA-gg53-wf5x-r3r6"],"status":"published","title":"XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference","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.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0084,"percentile":0.58157,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-285","CWE-862"],"published":"2022-09-07T13:55:11Z","modified":"2026-10-28T02:31:01Z","fixes":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","fixed_in":["12.10.11","13.4.6","13.10.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0"},{"fixed":"12.10.11"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0"},{"fixed":"13.4.6"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.10"},{"fixed":"13.10.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0"},{"fixed":"12.10.11"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0"},{"fixed":"13.4.6"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.10"},{"fixed":"13.10.1"}]}]}],"products":[{"vendor":"xwiki","product":"xwiki"},{"vendor":"xwiki","product":"xwiki-platform"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory","advisory","web"]},{"url":"https://jira.xwiki.org/browse/XWIKI-14075","tags":["x_refsource_MISC","x_transferred","Permissions Required","Vendor Advisory","web"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18983","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31167","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gg53-wf5x-r3r6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31167.json","tags":["advisory"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31167","title":"XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference","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.","status":"published","published":"2022-09-07T13:55:11Z","modified":"2025-04-22T17:23:53.696Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6821","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.","status":"published","published":"2022-09-07T13:55:11Z","modified":"2025-04-22T17:23:53Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:16.055056Z"}],"ghsa":[{"id":"GHSA-gg53-wf5x-r3r6","title":"XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference","description":"### Impact\n\nA bug in the security cache is storing rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry.\n\nThat 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.\n\n### Patches\n\nThe problem has been patched in XWiki 12.10.11, 13.10.1, 13.4.6.\n\n### Workarounds\n\nNo workaround other than patching.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-14075\nhttps://jira.xwiki.org/browse/XWIKI-18983\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","status":"published","published":"2022-09-20T21:18:43Z","modified":"2023-01-29T05:03:01Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T14:36:25.835323Z"}],"nvd":[{"id":"CVE-2022-31167","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.","status":"published","published":"2022-09-07T14:15:08.91Z","modified":"2026-06-17T04:44:56.9Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T14:07:26.802986Z"}],"osv":[{"id":"CVE-2022-31167","title":"XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference","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.","status":"published","published":"2022-09-07T13:55:11Z","modified":"2026-10-28T02:31:01.521462987Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GHSA-gg53-wf5x-r3r6","title":"XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference","description":"### Impact\n\nA bug in the security cache is storing rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry.\n\nThat 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.\n\n### Patches\n\nThe problem has been patched in XWiki 12.10.11, 13.10.1, 13.4.6.\n\n### Workarounds\n\nNo workaround other than patching.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-14075\nhttps://jira.xwiki.org/browse/XWIKI-18983\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","status":"published","published":"2022-09-20T21:18:43Z","modified":"2023-11-08T04:09:28.464658Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-285","CWE-862"],"updated_at":"2026-11-02T15:46:47.822182Z"}]}}
