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-2020-7661 Vulnerability in maven package org.webjars.npm:url-regex
CVE-2022-25760 Vulnerability in npm package accesslog
CVE-2022-39353 Vulnerability in npm package @xmldom/xmldom
CVE-2020-7792 Vulnerability in npm package mout
CVE-2023-46131 Vulnerability in maven package org.grails:grails-encoder