XWiki Platform Wiki UI Main Wiki Eval Injection vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
XWiki Platform Wiki UI Main Wiki is software for managing subwikis on XWiki Platform, a generic wiki platform. Starting with version 5.3-milestone-2 and prior to versions 13.10.6 and 14.4, it's possible to inject arbitrary wiki syntax including Groovy, Python and Velocity script macros via the request (URL parameter) using the `XWikiServerClassSheet` if the user has view access to this sheet and another page that has been saved with programming rights, a standard condition on a public read-only XWiki installation or a private XWiki installation where the user has an account. This allows arbitrary Groovy/Python/Velocity code execution which allows bypassing all rights checks and thus both modification and disclosure of all content stored in the XWiki installation. Also, this could be used to impact the availability of the wiki. This has been patched in versions 13.10.6 and 14.4. As a workaround, edit the affected document `XWiki.XWikiServerClassSheet` or `WikiManager.XWikiServerClassSheet` and manually perform the changes from the patch fixing the issue. On XWiki versions 12.0 and later, it is also possible to import the document `XWiki.XWikiServerClassSheet` from the xwiki-platform-wiki-ui-mainwiki package version 14.4 using the import feature of the administration application as there have been no other changes to this document since XWiki 12.0.
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 | 5.3-milestone-2 to before 13.10.6; 14.0 to before 14.4 | 13.10.6, 14.4 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven) | 5.3-milestone-2 to before 13.10.6 | 13.10.6 | Patch available | GHSA-xr6m-2p4m-jvqf |
| — | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven) | 14.0 to before 14.4 | 14.4 | Patch available | GHSA-xr6m-2p4m-jvqf |
- xwiki-platform VendorXWiki Affected 5.3-milestone-2 to before 13.10.6; 14.0 to before 14.4 Fixed in 13.10.6, 14.4 Patch available CNA
- org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven) Vendor— Affected 5.3-milestone-2 to before 13.10.6 Fixed in 13.10.6 Patch available GHSA-xr6m-2p4m-jvqf
- org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven) Vendor— Affected 14.0 to before 14.4 Fixed in 14.4 Patch available GHSA-xr6m-2p4m-jvqf
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 13.10.6, 14.4
- Fix · GHSA-xr6m-2p4m-jvqf org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven) Fixed in 13.10.6 Advisory →
- Fix · GHSA-xr6m-2p4m-jvqf org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven) Fixed in 14.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-36099
- 2026-10-03 Alias added: GHSA-xr6m-2p4m-jvqf
References
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-36099 · CVE Program
- CVE-2022-36099 · NVD
- FIRST EPSS
- GHSA-xr6m-2p4m-jvqf · 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