Skip to content
OpenAdvisories
Critical · 10.0 CVE-2024-31997 EUVD-2024-1179GHSA-c2gg-4gq4-jv5j

XWiki Platform remote code execution from account through UIExtension parameters

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

Description

XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform < 14.10.19, >= 15.0-rc-1, < 15.5.4, >= 15.6-rc-1, < 15.9-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-uiextension-api < 14.10.19 14.10.19 GHSA-c2gg-4gq4-jv5j
Maven org.xwiki.platform:xwiki-platform-uiextension-api >= 15.0-rc-1, < 15.5.4 15.5.4 GHSA-c2gg-4gq4-jv5j
Maven org.xwiki.platform:xwiki-platform-uiextension-api >= 15.6-rc-1, < 15.9-rc-1 15.9-rc-1 GHSA-c2gg-4gq4-jv5j

References