XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.
An attacker with edit rights to any page can add an object of type `XWiki.SearchSuggestSourceClass` to their user profile or another page. When this object is processed, the platform evaluates its content as server-side code (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code, CWE-94: Code Injection) without proper permission verification. As a result, any low-privileged user can inject and execute a payload on the server.
An attacker gains the ability to execute arbitrary code on the server (RCE), leading to complete takeover of the XWiki installation — compromising confidentiality, integrity, and availability of all platform data and functions.
XWiki Platform should be updated to version 14.10.20, 15.5.4, or 15.10 RC1. If an update is not possible, as a workaround, manually apply a patch to the `XWiki.SearchSuggestSourceSheet` document according to the vendor's reference instructions.
XWiki Platform in versions from 5.0-rc-1 to (excluding) 14.10.20, 15.5.4, and 15.9-rc-1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HXwiki
APPXwiki5.25.3 – 14.10.20 (bez)15.0 – 15.5.4 (bez)15.6 – 15.10 (bez)
Related vulnerabilities
XWiki Platform — niezautoryzowany RCE przez endpoint SolrSearch
XWiki Platform — path traversal umożliwia odczyt plików konfiguracyjnych
XWiki Platform: ujawnienie plików konfiguracyjnych przez webjars API (path traversal)
SQL Injection w XWiki Platform via parametr sort w getdeleteddocuments.vm
XWiki Rendering: bypass trybu restricted przez zagnieżdżone makra