Cyber Resilience

CVE-2024-31988

CSRF in Xwiki 13.9 – 14.10.19

Public PoCCSRF
Published
10 April 2024
Modified
09 January 2025
Patch / advisory
CVSS Score v3.1 9.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0070 50th percentile
Risk Priority 77 floored blend · peak EPSS

Summary

CVE-2024-31988 is a critical-severity CSRF (CWE-352) vulnerability in Xwiki Xwiki. Its CVSS base score is 9.6 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 50th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SC-23 (Session Authenticity) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

XWiki Platform versions from 13.9-rc-1 through 14.10.18, 15.5.3, and 15.9 contain a vulnerability in the realtime editor component that permits arbitrary remote code execution. The flaw stems from insufficient protection of the RTFrontend.ConvertHTML endpoint, allowing crafted XWiki syntax containing Groovy or Python macros to be executed when processed by an administrator account that possesses programming rights. The issue is tracked as CWE-352 and carries a CVSS 3.1 score of 9.6.

An unauthenticated attacker can exploit the weakness by inducing an administrator to visit a maliciously constructed URL or to load an image whose source attribute points to that URL, for example by embedding it in a comment or wiki page. Successful interaction causes the server to interpret and run attacker-supplied scripting macros, resulting in full compromise of the confidentiality, integrity, and availability of the XWiki installation.

Official patches released in XWiki 14.10.19, 15.5.4, and 15.9 address the endpoint; the project advisory also notes a manual workaround that updates RTFrontend.ConvertHTML at the cost of breaking certain realtime synchronization features. The associated EPSS score rose from a low baseline to a peak of 0.1084 on 2025-12-11 before receding to its current value of 0.0690, indicating a measurable increase in exploitation interest after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-31985Same product: Xwiki Xwiki
CVE-2023-40572Same product: Xwiki Xwiki
CVE-2023-37277Same product: Xwiki Xwiki
CVE-2023-48293Same product: Xwiki Xwiki
CVE-2023-50722Same product: Xwiki Xwiki
CVE-2024-31986Same product: Xwiki Xwiki
CVE-2023-29213Same product: Xwiki Xwiki
CVE-2023-46242Same product: Xwiki Xwiki
CVE-2023-22457Same vendor: Xwiki
CVE-2023-48292Same vendor: Xwiki

Affected Assets

xwiki
xwiki
13.9 — 14.10.19 · 15.0 — 15.5.4 · 15.6 — 15.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V3.3.2
  • V3.5.1
  • V10.2.1

Mitigating Controls (NIST 800-53 r5) AI

Access enforcement requires verifying that state-changing requests originate from the authenticated user rather than a forged cross-site source.

Protecting session authenticity prevents attackers from replaying or forging authenticated requests via the victim's browser.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require anti-CSRF controls such as tokens or SameSite attributes.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

mitigates

By denying access to phishing or malicious sites, the control lowers the likelihood that a user will be tricked into submitting a forged request that performs an unintended action on another site.

none

Contextual intelligence about emerging CSRF toolkits can be translated into updated anti-CSRF token or same-site policy configurations across applications.

References