Skip to content
OpenAdvisories
Critical · 10.0 CVE-2024-31983 EUVD-2024-1341GHSA-xxp2-9c9g-7wmj

XWiki Platform: Remote code execution from edit in multilingual wikis via translations

Published Apr 10, 2024 · Updated Aug 13, 2024 · Assigned by GitHub_M

Description

XWiki Platform is a generic wiki platform. In multilingual wikis, translations can be edited by any user who has edit right, circumventing the rights that are normally required for authoring translations (script right for user-scope translations, wiki admin for translations on the wiki). Starting in version 4.3-milestone-2 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, this can be exploited for remote code execution if the translation value is not properly escaped where it is used. This has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may restrict edit rights on documents that contain translations.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 4.3-milestone-2, < 14.10.20, >= 15.0-rc-1, < 15.5.4, >= 15.6-rc-1, < 15.10-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-localization-source-wiki >= 4.3-milestone-2, < 14.10.20 14.10.20 GHSA-xxp2-9c9g-7wmj
Maven org.xwiki.platform:xwiki-platform-localization-source-wiki >= 15.0-rc-1, < 15.5.4 15.5.4 GHSA-xxp2-9c9g-7wmj
Maven org.xwiki.platform:xwiki-platform-localization-source-wiki >= 15.6-rc-1, < 15.10-rc-1 15.10-rc-1 GHSA-xxp2-9c9g-7wmj

References