CVE-2023-46731
published critical CVSS 3.1 · 10.0Remote code execution through the section parameter in Administration as guest in XWiki Platform
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-platformorg.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 | Affected | Not stated | GitHub_M |
| xwiki | — | xwiki0 to < 14.10.14 · 15.0 to < 15.5.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | org.xwiki.platform:xwiki-platform-administration : < 14.10.14 (affected)org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14 (affected)org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1 (affected) | GitHub_M · cna |
| xwiki | xwiki | 0 to < 14.10.14 (affected · custom)15.0 to < 15.5.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
4- 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
Provider assertions
3GitHub_M · cna
Remote code execution through the section parameter in Administration as guest in XWiki Platform
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4080b2d927438623a5bda64abf0283bfeb11ce011f20f144973082e1e50366b5
- Ingested
- 23 Sep 2026, 08:12:41 UTC
- Source record
- Official CVE record