{"id":"CVE-2024-31997","published":"2024-04-10T21:55:43Z","modified":"2024-08-13T13:49:14Z","title":"XWiki Platform remote code execution from account through UIExtension parameters","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 14.10.19",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.9-rc-1"]}],"description":{"text":"XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.","provenance":"source","from":"CVE.org"},"summary":{"text":"XWiki Platform's UI extension parameters are always interpreted as Velocity code and executed with programming rights, so any user with edit rights on a document, such as their own profile, can create UI extensions that run arbitrary code. An attacker with a low-privileged account and edit access to any document can achieve remote code execution over the network, without user interaction, affecting the confidentiality, integrity and availability of the entire XWiki installation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:11Z"},"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.73925,"percentile":0.99477,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21335","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-uiextension-api","vulnerableRanges":["<14.10.19",">=15.0-rc-1, <15.5.4",">=15.6-rc-1, <15.9-rc-1"],"patched":["14.10.19","15.5.4","15.9-rc-1"],"from":["GHSA-c2gg-4gq4-jv5j"],"provenance":"source"}],"advisories":[{"id":"GHSA-c2gg-4gq4-jv5j","url":"https://github.com/advisories/GHSA-c2gg-4gq4-jv5j","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-uiextension-api","vulnerableRanges":["<14.10.19"],"patched":["14.10.19"],"provenance":"source","from":"GHSA"},{"id":"GHSA-c2gg-4gq4-jv5j","url":"https://github.com/advisories/GHSA-c2gg-4gq4-jv5j","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-uiextension-api","vulnerableRanges":[">=15.0-rc-1, <15.5.4"],"patched":["15.5.4"],"provenance":"source","from":"GHSA"},{"id":"GHSA-c2gg-4gq4-jv5j","url":"https://github.com/advisories/GHSA-c2gg-4gq4-jv5j","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-uiextension-api","vulnerableRanges":[">=15.6-rc-1, <15.9-rc-1"],"patched":["15.9-rc-1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1179","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1179","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-31997","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.9948"},{"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"}]}}