CVE-2023-50721Xwiki Code Injection
Remote code execution from account through SearchAdmin
Published Dec 16, 2023 · Updated Oct 28, 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.
Scores
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
Exploit maturity
None known
ATLAS score
33/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2023-50721
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-50721
- advisoryGHSA advisory
- patchhttps://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766
- patchhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x
- patchhttps://jira.xwiki.org/browse/XWIKI-21200
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
Oct 28, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2023-50721
- advisoryGHSA advisory
- 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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo