Skip to content
Fencer Intel
critical 10.0

CVE-2023-50721 in the critical feed json

XWiki Platform RCE from account through SearchAdmin

published 2y ago modified 2mo ago also GHSA-7654-vfh6-rw6x , EUVD-2023-3137

cvss
10.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
78.8%
EPSS 78.8% chance of exploitation in 30 days, percentile 99.5%
public exploits
0
none known

Summary

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

Patch / fix

  • maven org.xwiki.platform:xwiki-platform-search-ui 14.10.15, 15.5.2, 15.7-rc-1
  • xwiki xwiki 14.10.5, 15.5.2

Is CVE-2023-50721 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

78.81% chance of exploitation in the next 30 days, higher than 99.5% of all scored CVEs (FIRST EPSS, 2026-11-15).

CVSS scores

assigned by version score vector
CNA 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.xwiki.platform:xwiki-platform-search-ui
>=4.5-rc-1, <14.10.15
>=15.0-rc-1, <15.5.2
>=15.6-rc-1, <15.7-rc-1
14.10.15
15.5.2
15.7-rc-1

Affected products

  • xwiki xwiki-platform

Classification

Weakness
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.