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-2022-45146 Vulnerability in maven package org.bouncycastle:bc-fips
CVE-2018-11797 Vulnerability in maven package org.apache.pdfbox:pdfbox
CVE-2022-39202 Vulnerability in npm package matrix-appservice-irc
CVE-2008-6504 Vulnerability in maven package opensymphony:xwork
CVE-2023-33950 Vulnerability in maven package com.liferay.portal:release.portal.bom