Skip to content

CVE-2024-31983 XWiki Platform: Remote code execution from edit in multilingual wikis via translations

HighCVSS 8.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-localization-source-wiki(Maven) >= 4.3-milestone-2, < 14.10.20; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1 14.10.20, 15.5.4, 15.10-rc-1 Fixed
xwiki < 15.5.4; = 4.3; = 4.3-milestone2; = 4.3-rc1 +5 more 14.10.20, 15.5.4, 15.10, 15.10-rc-1 Fixed
xwiki-platform = >= 4.3-milestone-2, < 14.10.20; = >= 15.0-rc-1, < 15.5.4; = >= 15.6-rc-1, < 15.10-rc-1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-localization-source-wiki(Maven) >= 4.3-milestone-2, < 14.10.20 14.10.20
org.xwiki.platform/xwiki-platform-localization-source-wiki(Maven) >= 15.0-rc-1, < 15.5.4 15.5.4
org.xwiki.platform/xwiki-platform-localization-source-wiki(Maven) >= 15.6-rc-1, < 15.10-rc-1 15.10-rc-1
xwiki-platform = >= 4.3-milestone-2, < 14.10.20 No fix listed
xwiki-platform = >= 15.0-rc-1, < 15.5.4 No fix listed
xwiki-platform = >= 15.6-rc-1, < 15.10-rc-1 No fix listed
xwiki < 15.5.4 15.5.4
xwiki >= 15.6-rc-1, < 15.10-rc-1 15.10-rc-1
xwiki >= 4.3-milestone-2, < 14.10.20 14.10.20
xwiki >= 4.3.1, < 14.10.20 14.10.20
xwiki >= 15.0, < 15.5.4 15.5.4
xwiki >= 15.6, < 15.10 15.10
xwiki = 4.3 No fix listed
xwiki = 4.3-milestone2 No fix listed
xwiki = 4.3-rc1 No fix listed

References