CRITICAL🇵🇱 Wersja polska

CVE-2023-50721

CVSS 9.9v3.1pub. 2023-12-15upd. 2024-11-21

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`.

🤖 AI Analysis
How it works

The search administration interface (`XWiki.SearchAdmin`) does not apply proper escaping for the `id` and `label` fields of UI extensions. An attacker can inject XWiki syntax containing script macros, including server-side executed Groovy macros, into these fields. Since UI extensions can be added to any document (e.g., a user profile, which is editable by default), the attack requires no elevated privileges — only an account with the right to edit wiki pages.

Impact

An attacker can gain full remote code execution (RCE) on the server hosting the XWiki instance, which directly violates the confidentiality, integrity, and availability of the entire platform.

Mitigation & patch

Update XWiki Platform to version 14.10.15, 15.5.2, or 15.7-rc-1 (or newer). If an update is not possible, you can manually apply a patch directly on the `XWiki.SearchAdmin` page according to the commit available in the vendor's references.

Who is affected

XWiki Platform in versions from 4.5-rc-1 to 14.10.14 inclusive and from 15.0 to 15.5.1 inclusive (before 14.10.15, 15.5.2, and 15.7-rc-1)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Xwiki

    APP
    Xwiki
    15.615.74.5 – 14.10.5 (bez)15.0 – 15.5.2 (bez)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2025-24893CRITICAL9.8⚠ KEVPL ✓ten sam produkt

XWiki Platform — niezautoryzowany RCE przez endpoint SolrSearch

CVE-2025-55748CRITICAL9.3PL ✓ten sam produkt

XWiki Platform — path traversal umożliwia odczyt plików konfiguracyjnych

CVE-2025-55747CRITICAL9.3PL ✓ten sam produkt

XWiki Platform: ujawnienie plików konfiguracyjnych przez webjars API (path traversal)

CVE-2025-32429CRITICAL9.3PL ✓ten sam produkt

SQL Injection w XWiki Platform via parametr sort w getdeleteddocuments.vm

CVE-2025-53836CRITICAL9.9PL ✓ten sam produkt

XWiki Rendering: bypass trybu restricted przez zagnieżdżone makra