Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In XWiki, every user can add translations that are only applied to the current user. This also allows overriding existing translations. Such translations are often included in privileged contexts without any escaping which allows remote code execution for any user who has edit access on at least one document which could be the user's own profile where edit access is enabled by default. A mitigation for this vulnerability is part of XWiki 14.10.2 and XWiki 15.0 RC1: translations with user scope now require script right. This means that regular users cannot exploit this anymore as users don't have script right by default anymore starting with XWiki 14.10. There are no known workarounds apart from upgrading to a patched versions.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/d06ff8a58480abc7f63eb1d4b8b366024d990643
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4v38-964c-xjmw
https://jira.xwiki.org/browse/XWIKI-19749
Related Vulnerabilities
CVE-2020-13936 Vulnerability in maven package org.apache.velocity:velocity-engine-core
CVE-2016-10707 Vulnerability in maven package org.webjars.npm:jquery
CVE-2022-25927 Vulnerability in npm package ua-parser-js
CVE-2023-52079 Vulnerability in npm package msgpackr
CVE-2023-24807 Vulnerability in maven package org.webjars.npm:undici