CVE-2023-29512CWE-74

Code injection in xwiki-platform-web-templates

Critical · published April 18, 2023

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

🚨 If you have edit rights on a page, you're holding a golden key to execute arbitrary code in XWiki! 🔥 Think of it like having access to a hotel room where you can rearrange all the furniture and change the locks — once you're in, you have total control! An attacker could potentially run any Groovy, Python, or Velocity code they desire, leading to full access to the XWiki installation. This could allow for data theft, unauthorized changes, or even the complete takeover of the wiki environment, which would be a nightmare for any organization!

Put simply

Think of it like having access to a hotel room where you can rearrange all the furniture and change the locks — once you're in, you have total control! The vulnerability stems from improper escaping of information loaded from attachments in the default pages `imported.vm`, `importinline.vm`, and `packagelist.vm`, allowing code execution when a user with edit rights interacts with them.

What to do

An attacker could potentially run any Groovy, Python, or Velocity code they desire, leading to full access to the XWiki installation. This could allow for data theft, unauthorized changes, or even the complete takeover of the wiki environment, which would be a nightmare for any organization! Upgrade XWiki to the latest versions: 15.0-rc-1, 14.10.1, 14.4.8, or 13.10.11 immediately! There are no known workarounds, so make sure to act quickly to avoid potential exploitation. You've got this! With these updates, you’ll lock down your XWiki and keep those pesky intruders out! 🛡️

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.01144 · 66.4th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-04-18T23:44Z
EPSS history
Timeline
  • 18 APR 23:44Z
    Code injection in xwiki-platform-web-templates
    cvelistv5