CVE-2023-50721
HighRemote code execution from account through SearchAdmin
Published Dec 16, 2023 · Updated Sep 10, 2026 · Also known as GHSA-7654-vfh6-rw6x
Key Facts
Patch immediately- CVE-2023-50721 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-search-ui (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 79% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-search-ui 14.10.15, org.xwiki.platform:xwiki-platform-search-ui 15.5.2, org.xwiki.platform:xwiki-platform-search-ui 15.7-rc-1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
79%
Higher than 99.5% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2023-50721 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | 15.6, 15.6-rc1, 15.7-rc1 | 14.10.5 |
| org.xwiki.platform:xwiki-platform-search-uimaven | >= 4.5-rc-1 | 15.7-rc-1 |
| xwiki-platform | >= >= 4.5-rc-1, < 14.10.15 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-search-ui
14.10.15, 15.5.2, 15.7-rc-1
Xwiki
14.10.5
Timeline
Publicly disclosed
Dec 16, 2023
Last updated
Sep 10, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50721.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-50721
- patchhttps://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766
- patchhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x
FAQ
Common Questions.
XWiki Platform is a generic wiki platform.
Affected: Xwiki versions 15.6, 15.6-rc1, 15.7-rc1; org.xwiki.platform:xwiki-platform-search-ui (maven) versions >= 4.5-rc-1; xwiki-platform versions >= >= 4.5-rc-1, < 14.10.15. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including org.xwiki.platform:xwiki-platform-search-ui 14.10.15, org.xwiki.platform:xwiki-platform-search-ui 15.5.2, org.xwiki.platform:xwiki-platform-search-ui 15.7-rc-1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-50721 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo