Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions prior to 12.6.7 and 12.10.3, a user without Script or Programming right is able to execute script requiring privileges by editing gadget titles in the dashboard. The issue has been patched in XWiki 12.6.7, 12.10.3 and 13.0RC1.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/bb7068bd911f91e5511f3cfb03276c7ac81100bc
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h353-hc43-95vc
https://jay-from-future.github.io/cve/2021/06/17/xwiki-rce-cve.html
https://jira.xwiki.org/browse/XWIKI-17794
Related Vulnerabilities
CVE-2021-21252 Vulnerability in maven package org.webjars.npm:jquery-validation
CVE-2019-14540 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2023-40815 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2022-24827 Vulnerability in maven package com.yahoo.elide:elide-datastore-aggregation
CVE-2013-1777 Vulnerability in maven package org.apache.geronimo.framework:geronimo-jmx-remoting