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/security/advisories/GHSA-f4v8-58f6-mwj4
https://github.com/xwiki/xwiki-platform/commit/80d5be36f700adcd56b6c8eb3ed8b973f62ec0ae
https://jira.xwiki.org/browse/XWIKI-20279
Related Vulnerabilities
CVE-2018-1000180 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2021-3777 Vulnerability in npm package tmpl
CVE-2023-50721 Vulnerability in maven package org.xwiki.platform:xwiki-platform-search-ui
CVE-2022-35912 Vulnerability in maven package org.grails:grails-databinding
CVE-2014-2065 Vulnerability in maven package org.jenkins-ci.main:jenkins-core