CVE-2023-30537CWE-95

org.xwiki.platform:xwiki-platform-flamingo-theme-ui vulnerable to privilege escalation

Critical · published April 16, 2023

CVSS v3.1
9.9
EPSS
1%
Percentile
63.6
In the wild
Unconfirmed
What it is

🔥 With just the right permissions, users can run Groovy, Python, or Velocity code in XWiki, opening a door to full control over your installation! This vulnerability is like a restaurant where the chef allows customers to rewrite the entire menu — if they can add a dish, they can serve whatever they want without any checks. Yikes! An attacker with permission to add an object can execute arbitrary code, potentially leading to a complete takeover of the XWiki platform. Imagine someone serving up malicious dishes that compromise your data and security! This could mean unauthorized access to sensitive information, data manipulation, or even complete system control.

Put simply

This vulnerability is like a restaurant where the chef allows customers to rewrite the entire menu — if they can add a dish, they can serve whatever they want without any checks. Yikes! The root cause of this issue lies in improper escaping of style properties on the `FlamingoThemesCode.WebHome` page, which is included by default in the installation. This flaw allows the execution of untrusted code from users who shouldn't have that level of access.

What to do

An attacker with permission to add an object can execute arbitrary code, potentially leading to a complete takeover of the XWiki platform. Imagine someone serving up malicious dishes that compromise your data and security! This could mean unauthorized access to sensitive information, data manipulation, or even complete system control. To protect your installation, upgrade to XWiki versions 13.10.11, 14.4.7, or 14.10 immediately. Additionally, review user roles and permissions to ensure that only trusted users can add objects to pages. Don't hesitate to audit any existing code to mitigate potential risks! You've got this! Follow these steps, and you'll reinforce your security faster than you can say 'XWiki patched!' 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01037 · 63.6th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2023-04-16T07:06Z
EPSS history
Timeline
  • 16 APR 07:06Z
    org.xwiki.platform:xwiki-platform-flamingo-theme-ui vulnerable to privilege escalation
    cvelistv5