CVE-2023-29516CWE-74

Code injection from view right on XWiki.AttachmentSelector in xwiki-platform

Critical · published April 18, 2023

Patch now

High probability of exploitation

CVSS calls it critical at 9.9. It sits in the 99.3th percentile for exploit probability.

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

🚨 Users with view rights can execute arbitrary code—imagine handing out keys to your house to anyone who walks by! 🔥 Think of the XWiki platform like a restaurant with an open kitchen. If anyone can walk in and change the menu or ingredient list without any checks, chaos could ensue, just like this vulnerability allows execution of code with no verification! An attacker could leverage this flaw to gain complete control over the XWiki installation, potentially stealing sensitive data, altering content, or even crashing the entire system. This is absolutely devastating for any organization relying on XWiki for collaboration!

Put simply

Think of the XWiki platform like a restaurant with an open kitchen. If anyone can walk in and change the menu or ingredient list without any checks, chaos could ensue, just like this vulnerability allows execution of code with no verification! This vulnerability stems from improper escaping in the "Cancel and return to page" button in XWiki's AttachmentSelector functionality, which allows any user with view rights to run arbitrary Groovy, Python, or Velocity code.

What to do

An attacker could leverage this flaw to gain complete control over the XWiki installation, potentially stealing sensitive data, altering content, or even crashing the entire system. This is absolutely devastating for any organization relying on XWiki for collaboration! Update to XWiki versions 15.0-rc-1, 14.10.1, 14.4.8, or 13.10.11 to patch this vulnerability immediately. Review user permissions to ensure only trusted users have view access to sensitive components. Regularly audit and monitor your XWiki installation for unusual activities. You've got this! Follow these steps and you'll be a security hero in no time! 🛡️

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.65869 · 99.3th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-04-18T23:51Z
EPSS history
Timeline
  • 18 APR 23:51Z
    Code injection from view right on XWiki.AttachmentSelector in xwiki-platform
    cvelistv5