---
title: "CVE-2024-31988: XWiki Platform CSRF remote code execution through the realtime HTML Converter API"
url: https://erroneo.us/security/cve/CVE-2024-31988/
description: "CVE-2024-31988 (org.xwiki.platform:xwiki-platform-realtime-ui (Maven)): XWiki Platform is a generic wiki platform. Starting in version 13.9-rc-1 and prior…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-04-10
date_modified: 2025-02-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-31988"
kev: false
cvss: 9.7
epss: 0.00696
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-31988: XWiki Platform CSRF remote code execution through the realtime HTML Converter API

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 52: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 52% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes org.xwiki.platform:xwiki-platform-realtime-ui (Maven) >= 13.9-rc-1, < 14.10.19, fixed in 14.10.19 ; org.xwiki.platform:xwiki-platform-realtime-ui (Maven) >= 15.0-rc-1, < 15.5.4, fixed in 15.5.4 ; org.xwiki.platform:xwiki-platform-realtime-ui (Maven) >= 15.6-rc-1, < 15.9, fixed in 15.9 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Maven `org.xwiki.platform:xwiki-platform-realtime-ui` >= 13.9-rc-1, < 14.10.19 → fixed: 14.10.19
- Maven `org.xwiki.platform:xwiki-platform-realtime-ui` >= 15.0-rc-1, < 15.5.4 → fixed: 15.5.4
- Maven `org.xwiki.platform:xwiki-platform-realtime-ui` >= 15.6-rc-1, < 15.9 → fixed: 15.9

## Affected products (CVE record)

- xwiki xwiki-platform: >= 13.9-rc-1, < 14.10.19, >= 15.0-rc-1, < 15.5.4, >= 15.6-rc-1, < 15.9

## Severity

- GitHub_M CVSS 3.1: 9.7 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.6 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.70% probability of exploitation activity in the next 30 days; percentile 52.

## Sources

- [GitHub Advisory GHSA-r5vh-gc3r-r24w](https://github.com/advisories/GHSA-r5vh-gc3r-r24w)
- [CVE.org record CVE-2024-31988](https://www.cve.org/CVERecord?id=CVE-2024-31988)
- [NVD entry CVE-2024-31988](https://nvd.nist.gov/vuln/detail/CVE-2024-31988)
- [github.com](https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r5vh-gc3r-r24w)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/4896712ee6483da623f131be2e618f1f2b79cb8d)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/9f8cc88497418750b09ce9fde5d67d840f038fbf)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/d88da4572fb7d4f95e1f54bb0cce33fce3df08d9)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/d9f5043da289ff106f08e23576746fd8baf98794)
- [jira.xwiki.org](https://jira.xwiki.org/browse/XWIKI-21424)

---
Source page: https://erroneo.us/security/cve/CVE-2024-31988/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
