# CVE-2023-50721: XWiki Platform RCE from account through SearchAdmin

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 78.8%, higher than 99% of CVEs (2026-12-01)
- Published: 2023-12-15T19:02:46.076Z
- Modified: 2026-09-10T03:49:59.483Z
- Also known as: GHSA-7654-vfh6-rw6x
- Weaknesses: CWE-94, CWE-95
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 4.5-rc-1, < 14.10.15; >= 15.0-rc-1, < 15.5.2; >= 15.6-rc-1, < 15.7-rc-1
- org.xwiki.platform:xwiki-platform-search-ui (Maven): from 4.5-rc-1 before 14.10.15; from 15.0-rc-1 before 15.5.2; from 15.6-rc-1 before 15.7-rc-1
- xwiki xwiki: from 4.5 before 14.10.5; from 15.0 before 15.5.2; 15.6; 15.7

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x> (patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766> (patch, web)
- <https://jira.xwiki.org/browse/XWIKI-21200> (issue-tracking, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50721> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2023-50721](https://www.cve.org/CVERecord?id=CVE-2023-50721), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-7654-vfh6-rw6x](https://github.com/advisories/GHSA-7654-vfh6-rw6x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-50721](https://nvd.nist.gov/vuln/detail/CVE-2023-50721), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50721 · Whole record: https://cve.day/CVE-2023-50721.json · Rebuilt by cve.day 2026-11-25T22:58:31.450Z
