{"id":"CVE-2023-50721","published":"2023-12-15T19:02:46Z","modified":"2024-08-02T22:16:47Z","title":"XWiki Platform RCE from account through SearchAdmin","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 4.5-rc-1, < 14.10.15",">= 15.0-rc-1, < 15.5.2",">= 15.6-rc-1, < 15.7-rc-1"]}],"description":{"text":"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`.","provenance":"source","from":"CVE.org"},"summary":{"text":"The XWiki Platform (xwiki-platform) has an improper escaping flaw in its search administration interface, where the id and label of search user interface extensions are not neutralised, allowing injected XWiki syntax containing script macros. An attacker with low-privileged, network-reachable access who can edit a wiki page (such as their own user profile, which is editable by default) and needs no user interaction can inject Groovy macros to execute code remotely, affecting the confidentiality, integrity and availability of the whole instance.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:12Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.78812,"percentile":0.99591,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21200","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=4.5-rc-1, <14.10.15",">=15.0-rc-1, <15.5.2",">=15.6-rc-1, <15.7-rc-1"],"patched":["14.10.15","15.5.2","15.7-rc-1"],"from":["GHSA-7654-vfh6-rw6x"],"provenance":"source"}],"advisories":[{"id":"GHSA-7654-vfh6-rw6x","url":"https://github.com/advisories/GHSA-7654-vfh6-rw6x","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=4.5-rc-1, <14.10.15"],"patched":["14.10.15"],"provenance":"source","from":"GHSA"},{"id":"GHSA-7654-vfh6-rw6x","url":"https://github.com/advisories/GHSA-7654-vfh6-rw6x","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=15.0-rc-1, <15.5.2"],"patched":["15.5.2"],"provenance":"source","from":"GHSA"},{"id":"GHSA-7654-vfh6-rw6x","url":"https://github.com/advisories/GHSA-7654-vfh6-rw6x","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=15.6-rc-1, <15.7-rc-1"],"patched":["15.7-rc-1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-3137","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-3137","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-12-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-50721","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9959"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2023-50721","published":"2023-12-15","fixed":"15.7-rc-1","kev":false},{"cve":"CVE-2024-31465","published":"2024-04-10","fixed":"15.10-rc-1","kev":false,"link":{"from":"CVE-2023-50721","to":"CVE-2024-31465","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-search-ui","fromFixed":"14.10.15","toFixed":"14.10.20","daysApart":117},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-search-ui","fromFixed":"15.5.2","toFixed":"15.5.4","daysApart":117}]}},{"cve":"CVE-2024-31982","published":"2024-04-10","fixed":"15.10-rc-1","kev":false,"link":{"from":"CVE-2023-50721","to":"CVE-2024-31982","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-search-ui","fromFixed":"14.10.15","toFixed":"14.10.20","daysApart":117},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-search-ui","fromFixed":"15.5.2","toFixed":"15.5.4","daysApart":117}]}},{"cve":"CVE-2024-37901","published":"2024-07-31","fixed":"15.10.2","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-search-ui"}}