CVE-2023-45134CWE-79

XWiki Platform XSS vulnerability from account in the create page form via template provider

Critical · published October 25, 2023

CVSS v3.1
9.1
EPSS
2%
Percentile
78.7
In the wild
Unconfirmed
What it is

🚨 A crafty user account can turn into a malicious template factory! XWiki's design allows users to create templates that could unleash harmful scripts on the platform, potentially leading to some drastic consequences. 🔥 This is like a restaurant where anyone with a reservation can slip a secret ingredient into the chef's special, which gets served to every guest who orders it. If the chef doesn't check the recipe, the whole dining experience can be spoiled! If an attacker exploits this XSS vulnerability, they can run arbitrary code with the privileges of the user who clicks the malicious link. This could mean full access to sensitive data or even complete control over the XWiki installation, which is absolutely devastating for any organization relying on it.

Put simply

This is like a restaurant where anyone with a reservation can slip a secret ingredient into the chef's special, which gets served to every guest who orders it. If the chef doesn't check the recipe, the whole dining experience can be spoiled! Versions of XWiki from 3.1-milestone-1 to 13.4-rc-1, and specific web templates, are vulnerable due to a lack of proper escaping that allows an attacker to inject malicious code into a template provider, which is then executed upon document creation.

What to do

If an attacker exploits this XSS vulnerability, they can run arbitrary code with the privileges of the user who clicks the malicious link. This could mean full access to sensitive data or even complete control over the XWiki installation, which is absolutely devastating for any organization relying on it. Update XWiki to versions 13.4-rc-1, 14.10.2, or 15.5-rc-1 for the affected components to secure your installation. If updating isn’t possible immediately, manually patch the vulnerable `createinline.vm` file to prevent exploitation. Don't wait! You've got this! Patch your systems and keep your XWiki safe from nasty surprises. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01834 · 78.7th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-10-25T19:08Z
EPSS history
Timeline
  • 25 OCT 19:08Z
    XWiki Platform XSS vulnerability from account in the create page form via template provider
    cvelistv5