CVE-2023-50721

Critical

Description

XWiki Platform is a generic wiki platform. Starting in 4.5-rc-1 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, the search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user. The necessary escaping has been added in XWiki 14.10.15, 15.5.2 and 15.7RC1. As a workaround, the patch can be applied manually applied to the page `XWiki.SearchAdmin`.

SeverityCritical
CVSS9.9
Exploit probability—
ProductXwiki
PublishedDec 15, 2023
First seenDec 15, 2023

How to fix

Update
  • xwiki xwiki14.10.5, 15.5.2 or later
  • org.xwiki.platform:xwiki-platform-search-ui14.10.15, 15.5.2, 15.7-rc-1 or later

Affected products

ProductAffected versionsFixed in
xwiki xwiki4.5 ≤ v < 14.10.5, 15.0 ≤ v < 15.5.2, 15.6, 15.714.10.5, 15.5.2
org.xwiki.platform:xwiki-platform-search-uiMaven4.5-rc-1 ≤ v < 14.10.15, 15.0-rc-1 ≤ v < 15.5.2, 15.6-rc-1 ≤ v < 15.7-rc-114.10.15, 15.5.2, 15.7-rc-1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.