Skip to content

CVE-2022-41934 Improper Neutralization of Directives in Dynamically Evaluated Code in org.xwiki.platform:xwiki-platform-menu-ui

HighCVSS 8.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-menu-ui(Maven) < 13.10.8; >= 14.0.0, < 14.4.3 13.10.8, 14.4.3 Fixed
xwiki < 13.10.8; = 14.4.4; = 14.4.5; >= 14.0.0, < 14.4.3 13.10.8, 14.4.3 Fixed
xwiki-platform = < 13.10.8; = >= 14.0.0, < 14.4.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-menu-ui(Maven) < 13.10.8 13.10.8
org.xwiki.platform/xwiki-platform-menu-ui(Maven) >= 14.0.0, < 14.4.3 14.4.3
xwiki-platform = < 13.10.8 No fix listed
xwiki-platform = >= 14.0.0, < 14.4.3 No fix listed
xwiki < 13.10.8 13.10.8
xwiki >= 14.0.0, < 14.4.3 14.4.3
xwiki = 14.4.4 No fix listed
xwiki = 14.4.5 No fix listed

References