CVE-2024-31988CWE-352

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

Critical · published April 10, 2024

CVSS v3.1
9.7
EPSS
1%
Percentile
52.5
In the wild
Unconfirmed
What it is

🔥 One crafty crafted URL can turn an admin's visit into a nightmare of remote code execution! 🔥 Think of it like a restaurant critic slipping a poisoned dessert to the head chef — the chef trusts the critic, but what they don't realize is that the dish could be the end of their kitchen's reputation! An attacker can get an admin to unwittingly execute their malicious code, compromising the entire XWiki installation. This means sensitive data could be leaked, altered, or even deleted, putting your entire wiki at risk. It's absolutely devastating! 💔

Put simply

Think of it like a restaurant critic slipping a poisoned dessert to the head chef — the chef trusts the critic, but what they don't realize is that the dish could be the end of their kitchen's reputation! This vulnerability allows arbitrary remote code execution in the XWiki platform when an admin user interacts with a crafted URL or image, enabling the execution of harmful scripts like Groovy or Python code.

What to do

An attacker can get an admin to unwittingly execute their malicious code, compromising the entire XWiki installation. This means sensitive data could be leaked, altered, or even deleted, putting your entire wiki at risk. It's absolutely devastating! 💔 Upgrade your XWiki installation to versions 14.10.19, 15.5.4, or 15.10-rc-1 immediately to patch this critical vulnerability. As a temporary workaround, manually update `RTFrontend.ConvertHTML`, but be aware this could disrupt some synchronization processes in the real-time editor. 🦸‍♂️ You’ve got this! With these updates, you’ll keep your XWiki secure and your admin heroes safe! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00696 · 52.5th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2024-04-10T20:40Z
EPSS history
Timeline
  • 10 APR 20:40Z
    XWiki Platform CSRF remote code execution through the realtime HTML Converter API
    cvelistv5