Live threats

All CVEs / Xwiki

CVE-2022-31167Xwiki

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
Yes
Published
Sep 7, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-285, CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.xwiki.platform:xwiki-platform-security ≥ 5.0 < 12.10.11 12.10.11 —
Maven org.xwiki.platform:xwiki-platform-security ≥ 13.0 < 13.4.6 13.4.6 —
Maven org.xwiki.platform:xwiki-platform-security ≥ 13.10 < 13.10.1 13.10.1 —

Per OSV / GitHub Advisories (GHSA-gg53-wf5x-r3r6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xwikixwiki≥ 5.0 < 12.10.11
xwikixwiki≥ 13.0 < 13.4.6
xwikixwiki≥ 13.5 < 13.10.1

Official sources

References

Links published by the sources. Open them with care.