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-2018-9159 Vulnerability in maven package com.sparkjava:spark-core
CVE-2022-41642 Vulnerability in npm package nadesiko3
CVE-2020-5259 Vulnerability in maven package org.webjars.npm:dojox
CVE-2021-23509 Vulnerability in npm package json-ptr
CVE-2020-7610 Vulnerability in maven package org.webjars.npm:bson