{"id":"CVE-2024-31465","published":"2024-04-10T19:12:35Z","modified":"2024-08-13T13:56:21Z","title":"XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 5.2-milestone-2, < 14.10.20",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.10-rc-1"]}],"description":{"text":"XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in the XWiki Platform (xwiki-platform) component XWiki.SearchSuggestSourceSheet, where dynamically evaluated code is not properly neutralised, allowing code injection through the XWiki.SearchSuggestSourceClass object. An attacker who has a user account with edit rights on any page, which is the only requirement and needs no user interaction, can add that object to their profile or another page to execute arbitrary code on the server and fully compromise the installation's confidentiality, integrity and availability.","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.75575,"percentile":0.99517,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-34fj-r5gq-7395","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/0317a3aa78065e66c86fc725976b06bf7f9b446e","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/2740974c32dbb7cc565546d0f04e2374b32b36f7","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809#diff-67b473d2b6397d65b7726c6a13555850b11b10128321adf9e627e656e1d130a5","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21474","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=5.2-milestone-2, <14.10.20",">=15.0-rc-1, <15.5.4",">=15.6-rc-1, <15.10-rc-1"],"patched":["14.10.20","15.5.4","15.10-rc-1"],"from":["GHSA-34fj-r5gq-7395"],"provenance":"source"}],"advisories":[{"id":"GHSA-34fj-r5gq-7395","url":"https://github.com/advisories/GHSA-34fj-r5gq-7395","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=5.2-milestone-2, <14.10.20"],"patched":["14.10.20"],"provenance":"source","from":"GHSA"},{"id":"GHSA-34fj-r5gq-7395","url":"https://github.com/advisories/GHSA-34fj-r5gq-7395","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=15.0-rc-1, <15.5.4"],"patched":["15.5.4"],"provenance":"source","from":"GHSA"},{"id":"GHSA-34fj-r5gq-7395","url":"https://github.com/advisories/GHSA-34fj-r5gq-7395","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-ui","vulnerableRanges":[">=15.6-rc-1, <15.10-rc-1"],"patched":["15.10-rc-1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1075","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1075","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-04-10","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-31465","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.9,"detail":"percentile 0.9952"},{"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,"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-31465","published":"2024-04-10","fixed":"15.10-rc-1","kev":false},{"cve":"CVE-2024-31982","published":"2024-04-10","fixed":"15.10-rc-1","kev":false},{"cve":"CVE-2024-37901","published":"2024-07-31","fixed":"15.10.2","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-search-ui"}}