XWiki.WebHome vulnerable to Improper Privilege Management in XWiki resolving groups
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-269.
Summary
XWiki Platform Old Core is a core package for XWiki Platform, a generic wiki platform. Starting in versions 11.3.7, 11.0.3, and 12.0RC1, it is possible to exploit a bug in XWikiRights resolution of groups to obtain privilege escalation. More specifically, editing a right with the object editor leads to adding a supplementary empty value to groups which is then resolved as a reference to XWiki.WebHome page. Adding an XWikiGroup xobject to that page then transforms it to a group, any user put in that group would then obtain the privileges related to the edited right. Note that this security issue is normally mitigated by the fact that XWiki.WebHome (and XWiki space in general) should be protected by default for edit rights. The problem has been patched in XWiki 13.10.4 and 14.2RC1 to not consider anymore empty values in XWikiRights. It's possible to work around the problem by setting appropriate rights on XWiki.WebHome page to prevent users to edit it.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 11.3.7 to before 13.10.4; 14.0-rc-1 to before 14.2-rc-1 | 13.10.4, 14.2-rc-1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 11.3.7 to before 13.10.4 | 13.10.4 | Patch available | GHSA-g4h6-qp44-wqvx |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 14.0-rc-1 to before 14.2-rc-1 | 14.2-rc-1 | Patch available | GHSA-g4h6-qp44-wqvx |
- xwiki-platform VendorXWiki Affected 11.3.7 to before 13.10.4; 14.0-rc-1 to before 14.2-rc-1 Fixed in 13.10.4, 14.2-rc-1 Patch available CNA
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 11.3.7 to before 13.10.4 Fixed in 13.10.4 Patch available GHSA-g4h6-qp44-wqvx
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 14.0-rc-1 to before 14.2-rc-1 Fixed in 14.2-rc-1 Patch available GHSA-g4h6-qp44-wqvx
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 13.10.4, 14.2-rc-1
- Fix · GHSA-g4h6-qp44-wqvx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 13.10.4 Advisory →
- Fix · GHSA-g4h6-qp44-wqvx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 14.2-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31166
- 2026-10-03 Alias added: GHSA-g4h6-qp44-wqvx
References
Advisory 3
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2022-31166 · CVE Program
- CVE-2022-31166 · NVD
- FIRST EPSS
- GHSA-g4h6-qp44-wqvx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences