{"id":"CVE-2023-46731","published":"2023-11-06T18:47:49Z","modified":"2024-09-05T14:34:27Z","title":"Remote code execution through the section parameter in Administration as guest in XWiki Platform","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["org.xwiki.platform:xwiki-platform-administration : < 14.10.14","org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14","org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1"]}],"description":{"text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki doesn't properly escape the section URL parameter that is used in the code for displaying administration sections. This allows any user with read access to the document `XWiki.AdminSheet` (by default, everyone including unauthenticated users) to execute code including Groovy code. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This vulnerability has been patched in XWiki 14.10.14, 15.6 RC1 and 15.5.1. Users are advised to upgrade. Users unablr to upgrade may apply the fix in commit `fec8e0e53f9` manually. Alternatively, to protect against attacks from unauthenticated users, view right for guests can be removed from this document (it is only needed for space and wiki admins).","provenance":"source","from":"CVE.org"},"summary":{"text":"A flaw in the section URL parameter used to display administration sections in XWiki Platform (xwiki-platform) allows code injection because the parameter is not properly escaped. An attacker with network access and no authentication or user interaction can exploit it, since the vulnerable document XWiki.AdminSheet is readable by default, including by guests, to execute arbitrary code such as Groovy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:07Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.88534,"percentile":0.99772,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a#diff-6271f9be501f30b2ba55459eb451aee3413d34171ba8198a77c865306d174e23","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21110","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","vulnerableRanges":["<14.10.14",">=15.0-rc-1, <15.5.1"],"patched":["14.10.14","15.5.1"],"from":["GHSA-62pr-qqf7-hh89"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration","vulnerableRanges":["<14.10.14"],"patched":["14.10.14"],"from":["GHSA-62pr-qqf7-hh89"],"provenance":"source"}],"advisories":[{"id":"GHSA-62pr-qqf7-hh89","url":"https://github.com/advisories/GHSA-62pr-qqf7-hh89","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","vulnerableRanges":["<14.10.14"],"patched":["14.10.14"],"provenance":"source","from":"GHSA"},{"id":"GHSA-62pr-qqf7-hh89","url":"https://github.com/advisories/GHSA-62pr-qqf7-hh89","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","vulnerableRanges":[">=15.0-rc-1, <15.5.1"],"patched":["15.5.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-62pr-qqf7-hh89","url":"https://github.com/advisories/GHSA-62pr-qqf7-hh89","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration","vulnerableRanges":["<14.10.14"],"patched":["14.10.14"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-2893","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2893","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-11-06","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-46731","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":27.0,"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.95,"detail":"percentile 0.9977"},{"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-29511","published":"2023-04-16","fixed":"14.10.1","kev":false},{"cve":"CVE-2023-29514","published":"2023-04-18","fixed":"14.10.1","kev":false},{"cve":"CVE-2023-29510","published":"2023-04-18","fixed":"14.10.2","kev":false,"link":{"from":"CVE-2023-29510","to":"CVE-2023-46731","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui","fromFixed":"14.10.2","toFixed":"14.10.14","daysApart":202}]}},{"cve":"CVE-2023-46731","published":"2023-11-06","fixed":"15.5.1","kev":false},{"cve":"CVE-2023-50722","published":"2023-12-15","fixed":"15.7-rc-1","kev":false,"link":{"from":"CVE-2023-46731","to":"CVE-2023-50722","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui","fromFixed":"14.10.14","toFixed":"14.10.15","daysApart":39},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui","fromFixed":"15.5.1","toFixed":"15.5.2","daysApart":39}]}},{"cve":"CVE-2023-50723","published":"2023-12-15","fixed":"15.7-rc-1","kev":false,"link":{"from":"CVE-2023-46731","to":"CVE-2023-50723","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui","fromFixed":"14.10.14","toFixed":"14.10.15","daysApart":39},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui","fromFixed":"15.5.1","toFixed":"15.5.2","daysApart":39}]}},{"cve":"CVE-2024-21650","published":"2024-01-08","fixed":"15.8-rc-1","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-administration-ui"}}