Skip to main content
Public proof of conceptFix available

CVE-2024-31988

A public proof of concept exists; no exploitation attested.

  • Published2024-04-10
  • Fixed in15.9 · 15.5.4 · 14.10.19
  • WeaknessCWE-352

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-04-1021:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP · OSV
Xwiki
BranchAffectedFixed in
15.x≥ 15.6, < 15.915.9
15.9≥ 5.6-rc-1, < 15.915.9
15.x≥ 15.6-rc-1, < 15.915.9
15.x≥ 15.0, < 15.5.415.5.4
15.x≥ 15.0-rc-1, < 15.5.415.5.4
14.10≥ 13.9, < 14.10.1914.10.19
14.10≥ 13.9-rc-1, < 14.10.1914.10.19

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • xwiki-platform
    Affected
    • = >= 13.9-rc-1, < 14.10.19no fix stated
    • = >= 15.0-rc-1, < 15.5.4no fix stated
    • = >= 15.6-rc-1, < 15.9no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-04-10

Fix

  1. Update Xwiki to 15.9 · 15.5.4 · 14.10.19

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-04-17
  • CNACVSS 3.19.6known since 2026-10-23
  • NVDCVSS 3.18.8read 2026-10-23
  • CNAweakness (CWE)CWE-352known since 2026-10-23
  • NVDweakness (CWE)CWE-352read 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-11-24
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2024-04-10

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2024-04-10
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-r5vh-gc3r-r24w

Frequently asked questions

What is CVE-2024-31988?

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.

Is CVE-2024-31988 actively exploited?

A proof-of-concept exploit exists for CVE-2024-31988, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-31988?

CVE-2024-31988 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record