Description
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the `documentTree` macro parameters in This macro is installed by default in `FlamingoThemesCode.WebHome`. This page is installed by default. The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/80d5be36f700adcd56b6c8eb3ed8b973f62ec0ae
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f4v8-58f6-mwj4
https://jira.xwiki.org/browse/XWIKI-20279
Related Vulnerabilities
CVE-2008-6504 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2019-10797 Vulnerability in maven package org.wso2.transport.http:org.wso2.transport.http.netty
CVE-2022-41940 Vulnerability in maven package org.webjars.bower:engine.io
CVE-2020-26945 Vulnerability in maven package org.mybatis:mybatis
CVE-2020-5259 Vulnerability in maven package org.webjars.npm:dojox