Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can save a document with the right of the current user which allow accessing API requiring programming right if the current user has programming right. This has been patched in XWiki 13.0. Users are advised to update to resolve this issue. The only known workaround is to limit SCRIPT access.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/7ab0fe7b96809c7a3881454147598d46a1c9bbbe
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f4cj-3q3h-884r
https://jira.xwiki.org/browse/XWIKI-5024
Related Vulnerabilities
CVE-2019-10241 Vulnerability in maven package org.eclipse.jetty:jetty-server
CVE-2021-3377 Vulnerability in npm package ansi_up
CVE-2022-36099 Vulnerability in maven package org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki
CVE-2023-34981 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-2932 Vulnerability in npm package mobiledoc-dom-renderer