Description
XWiki Commons are technical libraries common to several other top level XWiki projects. The Document script API returns directly a DocumentAuthors allowing to set any authors to the document, which in consequence can allow subsequent executions of scripts since this author is used for checking rights. The problem has been patched in XWiki 14.10 and 14.4.7 by returning a safe script API.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/905cdd7c421dbf8c565557cdc773ab1aa9028f83
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-pwfv-3cvg-9m4c
https://jira.xwiki.org/browse/XWIKI-20380
Related Vulnerabilities
CVE-2021-21172 Vulnerability in npm package electron
CVE-2022-35915 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts
CVE-2015-8855 Vulnerability in maven package org.webjars.bower:semver
CVE-2023-0482 Vulnerability in maven package org.jboss.resteasy:resteasy-undertow
CVE-2020-7729 Vulnerability in maven package org.webjars.npm:grunt