PT-2023-31630 · Xwiki · Xwiki Platform

Michael Hamann

·

Published

2023-12-19

·

Updated

2024-01-04

·

CVE-2023-50732

CVSS v3.1

8.3

High

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions XWiki Platform versions prior to 14.10.7 XWiki Platform versions prior to 15.2RC1
Description The issue allows execution of a Velocity script without script right through the document tree. This can be exploited by a user without script right creating a document with a title set to $request.requestURI, which upon saving and viewing, executes the Velocity code, as indicated by the navigation panel displaying a document named with the current URL.
Recommendations For versions prior to 14.10.7, update to XWiki 14.10.7. For versions prior to 15.2RC1, update to 15.2RC1. As a temporary workaround, consider modifying the page XWiki.DocumentTreeMacros by changing the code #set ($discard = $translatedDocument.setTitle($translatedDocument.title)) to #set ($discard = $translatedDocument.setcomment('')).

Exploit

Fix

Incorrect Authorization

Weakness Enumeration

Related Identifiers

CVE-2023-50732
GHSA-P5F8-QF24-24CJ

Affected Products

Xwiki Platform