Description
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with edit rights 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 included pages in the IncludedDocuments panel. The problem has been patched on XWiki 14.4.7, and 14.10.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/50b4d91418b4150933f0317eb4a94ceaf5b69f67
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qx9h-c5v6-ghqh
https://jira.xwiki.org/browse/XWIKI-20306
Related Vulnerabilities
CVE-2013-7378 Vulnerability in npm package hubot-scripts
CVE-2023-28118 Vulnerability in maven package com.charleskorn.kaml:kaml
CVE-2019-16943 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2023-31101 Vulnerability in maven package org.apache.inlong:manager-dao
CVE-2023-46731 Vulnerability in maven package org.xwiki.platform:xwiki-platform-administration-ui