{"cve":"CVE-2023-50721","nvd":{"published":"2023-12-15T19:15:09.667","modified":"2026-06-17T06:39:51.253","status":"Modified","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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94","CWE-95"],"references":["https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x","https://jira.xwiki.org/browse/XWIKI-21200","https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:42:34.585441961+00:00"},"epss":{"cve":"CVE-2023-50721","score":0.78812,"percentile":0.99591,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7654-vfh6-rw6x","url":"https://osv.dev/vulnerability/GHSA-7654-vfh6-rw6x","summary":"Remote code execution from account through SearchAdmin","modified":"2026-09-10T03:49:59.483737594Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-search-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-search-ui","ranges":[">=4.5-rc-1 <14.10.15"],"fixed":["14.10.15"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-search-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-search-ui","ranges":[">=15.0-rc-1 <15.5.2"],"fixed":["15.5.2"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-search-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-search-ui","ranges":[">=15.6-rc-1 <15.7-rc-1"],"fixed":["15.7-rc-1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}