Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. This issue has been patched in XWiki 14.4.8, 14.10.3 and 15.0RC1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Remediation
References
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mjw9-3f9f-jq2w
https://jira.xwiki.org/browse/XWIKI-20456
https://github.com/xwiki/xwiki-platform/commit/d7e56185376641ee5d66477c6b2791ca8e85cfee
Related Vulnerabilities
CVE-2022-37734 Vulnerability in maven package com.graphql-java:graphql-java
CVE-2022-25296 Vulnerability in npm package bodymen
CVE-2023-29216 Vulnerability in maven package org.apache.linkis:linkis-common
CVE-2017-14949 Vulnerability in maven package org.restlet.osgi:org.restlet
CVE-2021-21353 Vulnerability in maven package org.webjars.npm:pug