Skip to content
OpenAdvisories
Critical · 10.0 CVE-2023-46243 EUVD-2023-2962GHSA-g2qq-c5j9-5w5w

Code execution via the edit action in XWiki platform

Published Nov 7, 2023 · Updated Sep 12, 2024 · Assigned by GitHub_M

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to execute any content with the right of an existing document's content author, provided the user have edit right on it. A crafted URL of the form ` /xwiki/bin/edit//?content=%7B%7Bgroovy%7D%7Dprintln%28%22Hello+from+Groovy%21%22%29%7B%7B%2Fgroovy%7D%7D&xpage=view` can be used to execute arbitrary groovy code on the server. This vulnerability has been patched in XWiki versions 14.10.6 and 15.2RC1. Users are advised to update. There are no known workarounds for this issue.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 1.0, < 14.10.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-oldcore >= 15.0, < 15.2-rc-1 15.2-rc-1 GHSA-g2qq-c5j9-5w5w
Maven org.xwiki.platform:xwiki-platform-oldcore >= 1.0, < 14.10.6 14.10.6 GHSA-g2qq-c5j9-5w5w

References