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://jira.xwiki.org/browse/XWIKI-19749
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4v38-964c-xjmw
Related Vulnerabilities
CVE-2023-33947 Vulnerability in maven package com.liferay.portal:release.portal.bom
CVE-2023-46279 Vulnerability in maven package org.apache.dubbo:dubbo
CVE-2022-31172 Vulnerability in npm package @openzeppelin/contracts-upgradeable
CVE-2015-20110 Vulnerability in npm package generator-jhipster
CVE-2023-40176 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates