Improper Neutralization of Directives in Dynamically Evaluated Code in org.xwiki.platform:xwiki-platform-menu-ui
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights on commonly accessible documents including the menu macro can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation due to improper escaping of the macro content and parameters of the menu macro. The problem has been patched in XWiki 14.6RC1, 13.10.8 and 14.4.3. The patch (commit `2fc20891`) for the document `Menu.MenuMacro` can be manually applied or a XAR archive of a patched version can be imported. The menu macro was basically unchanged since XWiki 11.6 so on XWiki 11.6 or later the patch for version of 13.10.8 (commit `59ccca24a`) can most likely be applied, on XWiki version 14.0 and later the versions in XWiki 14.6 and 14.4.3 should be appropriate.
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 | before 13.10.8; 14.0.0 to before 14.4.3 | 13.10.8, 14.4.3 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-menu-ui (Maven) | before 13.10.8 | 13.10.8 | Patch available | GHSA-6w8h-26xx-cf8q |
| — | org.xwiki.platform:xwiki-platform-menu-ui (Maven) | 14.0.0 to before 14.4.3 | 14.4.3 | Patch available | GHSA-6w8h-26xx-cf8q |
- xwiki-platform VendorXWiki Affected before 13.10.8; 14.0.0 to before 14.4.3 Fixed in 13.10.8, 14.4.3 Patch available CNA
- org.xwiki.platform:xwiki-platform-menu-ui (Maven) Vendor— Affected before 13.10.8 Fixed in 13.10.8 Patch available GHSA-6w8h-26xx-cf8q
- org.xwiki.platform:xwiki-platform-menu-ui (Maven) Vendor— Affected 14.0.0 to before 14.4.3 Fixed in 14.4.3 Patch available GHSA-6w8h-26xx-cf8q
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 13.10.8, 14.4.3
- Fix · GHSA-6w8h-26xx-cf8q org.xwiki.platform:xwiki-platform-menu-ui (Maven) Fixed in 13.10.8 Advisory →
- Fix · GHSA-6w8h-26xx-cf8q org.xwiki.platform:xwiki-platform-menu-ui (Maven) Fixed in 14.4.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-41934
- 2026-10-03 Alias added: GHSA-6w8h-26xx-cf8q
References
Exploit 2
Patch 2
Advisory 2
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-41934 · CVE Program
- CVE-2022-41934 · NVD
- FIRST EPSS
- GHSA-6w8h-26xx-cf8q · 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