What’s Vulnerable › Vulnerabilities
CVE-2023-46731: Remote code execution through the section parameter in Administration as guest in XWiki Platform
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 88.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-11-06 · updated 2026-06-17
- Weakness: CWE-94
Description
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).
Affected products
- xwiki-platform: before 14.10.14; from 15.0 before 15.5.1 — fixed in 14.10.14, 15.5.1
How to fix
Upgrade to a fixed version: xwiki-platform 14.10.14, 15.5.1. Check the vendor advisory for mitigations.
References
- https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a
- https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a#diff-6271f9be501f30b2ba55459eb451aee3413d34171ba8198a77c865306d174e23
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89
- https://jira.xwiki.org/browse/XWIKI-21110
- https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a
- https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a#diff-6271f9be501f30b2ba55459eb451aee3413d34171ba8198a77c865306d174e23
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89
- https://jira.xwiki.org/browse/XWIKI-21110
Get alerted when CVE-2023-46731 or the next vulnerability affects your stack