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-2023-29471 Vulnerability in maven package com.typesafe.akka:akka-stream-kafka_2.13
CVE-2021-43138 Vulnerability in npm package async
CVE-2020-11023 Vulnerability in maven package org.webjars:jquery
CVE-2020-1950 Vulnerability in maven package org.apache.tika:tika-parsers
CVE-2018-19360 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind