CVE-2023-50721Xwiki
High 8.8
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 15, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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`.
What to do
- Apply the vendor's security update for Xwiki.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-search-ui |
≥ 4.5-rc-1 < 14.10.15 |
14.10.15 |
— |
| Maven | org.xwiki.platform:xwiki-platform-search-ui |
≥ 15.0-rc-1 < 15.5.2 |
15.5.2 |
— |
| Maven | org.xwiki.platform:xwiki-platform-search-ui |
≥ 15.6-rc-1 < 15.7-rc-1 |
15.7-rc-1 |
— |
Per OSV / GitHub Advisories (GHSA-7654-vfh6-rw6x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | ≥ 4.5 < 14.10.5 |
| xwiki | xwiki | ≥ 15.0 < 15.5.2 |
| xwiki | xwiki | 15.6 |
| xwiki | xwiki | 15.6 |
| xwiki | xwiki | 15.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch Vendor Advisory
- jira.xwiki.org Issue Tracking Patch Vendor Advisory