Remote code execution through the section parameter in Administration as guest in XWiki Platform
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-46731
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 07:43 UTC · Revision 1
Source evidence
Remote code execution through the section parameter in Administration as guest in XWiki Platform
core-osv · Original sourcePublished 6 Nov 2023, 18:47 UTC
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).
osv:CVE-2023-46731
Complete source record
{
"id": "569373dbe6fbc7e73eb1d887083b1b6a85c7a50e92cb14e54ffbe5ec0a1715e1",
"url": "https://osv.dev/vulnerability/CVE-2023-46731",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Remote code execution through the section parameter in Administration as guest in XWiki Platform",
"summary": "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).",
"evidence": "osv:CVE-2023-46731",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2023-46731",
"aliases": [
"CVE-2023-46731",
"GHSA-62pr-qqf7-hh89"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/xwiki/xwiki-commons",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "45d77c8fcef654908befad83c0ada3b7f49b209f"
},
{
"introduced": "fdba4ca1398766e912f7888af5bdefbeef60d8b0"
},
{
"fixed": "64a0f57e43ab4ce3d4255dd7fc1af1df69510f85"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "14.10.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "15.0"
},
{
"fixed": "15.5.1"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/xwiki/xwiki-platform",
"type": "GIT",
"events": [
{
"introduced": "809bf91b60a1ca9b86adb6e99c22b343c3be120b"
},
{
"fixed": "fec8e0e53f9fa2c3f1e568cc15b0e972727c803a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "org.xwiki.platform:xwiki-platform-administration : < 14.10.14"
},
{
"last_affected": "org.xwiki.platform:xwiki-platform-administration : < 14.10.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14"
},
{
"last_affected": "org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "fec8e0e53f9fa2c3f1e568cc15b0e972727c803a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"org.xwiki.platform:xwiki-platform-administration : < 14.10.14",
"xwiki-commons-15.5",
"xwiki-commons-14.10.13",
"xwiki-commons-15.5-rc-1",
"xwiki-commons-14.10.12",
"xwiki-commons-14.10.11",
"xwiki-commons-14.10.10",
"xwiki-commons-14.10.9",
"xwiki-commons-14.10.8",
"xwiki-commons-14.10.7",
"xwiki-commons-14.10.6",
"xwiki-commons-14.10.5",
"xwiki-commons-14.10.4",
"xwiki-commons-14.10.3",
"xwiki-commons-14.10.2",
"xwiki-commons-14.10.1",
"xwiki-commons-14.10",
"xwiki-commons-8.3-milestone-2",
"xwiki-commons-8.3-milestone-1",
"xwiki-commons-8.2-milestone-2",
"xwiki-commons-8.2-milestone-1",
"xwiki-commons-8.1-milestone-2",
"xwiki-commons-8.1-milestone-1",
"xwiki-commons-8.0-milestone-2",
"xwiki-commons-8.0-milestone-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46731.json"
}
}
],
"modified": "2026-10-28T02:30:26.667108333Z",
"provider": "osv",
"references": [
"https://jira.xwiki.org/browse/XWIKI-21110",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46731.json",
"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89",
"https://nvd.nist.gov/vuln/detail/CVE-2023-46731",
"https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a",
"https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a#diff-6271f9be501f30b2ba55459eb451aee3413d34171ba8198a77c865306d174e23"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94",
"CWE-95"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1"
},
{
"last_affected": "org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46731.json"
}
},
"related_cves": [
{
"value": "CVE-2023-46731",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493463,
"published_at": "2023-11-06T18:47:49.279+00:00"
}