CVE-2024-31988

XWiki Platform CSRF remote code execution through the realtime HTML Converter API

Published Apr 10, 2024 CVSS 3.1 · 9.7 Critical EPSS < 1% KEV · Not listed
Description
XWiki Platform is a generic wiki platform. Starting in version 13.9-rc-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, when the realtime editor is installed in XWiki, it allows arbitrary remote code execution with the interaction of an admin user with programming right. More precisely, by getting an admin user to either visit a crafted URL or to view an image with this URL that could be in a comment, the attacker can get the admin to execute arbitrary XWiki syntax including scripting macros with Groovy or Python code. This compromises 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. As a workaround, one may update `RTFrontend.ConvertHTML` manually with the patch. This will, however, break some synchronization processes in the realtime editor, so upgrading should be the preferred way on installations where this editor is used.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r5vh-gc3r-r24w XWiki Platform CSRF remote code execution through the realtime HTML Converter API
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xwiki
Xwiki xwiki
CPEs cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
Vendors & Products Xwiki
Xwiki xwiki
Type Values Removed Values Added
CPEs cpe:2.3:a:xwiki:xwiki-platform:*:*:*:*:*:*:*:*
Vendors & Products Xwiki
Xwiki xwiki-platform
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 21, 2025, 5:03 PM
Reserved
Apr 8, 2024, 1:48 PM
Status
Analyzed
Published
Apr 10, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:29 AM