CVE-2023-46731: XWiki Platform - Stored XSS
- Cve: CVE-2023-46731
- Name: XWiki Platform - Stored XSS
- 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).
- Impact: Attackers can execute arbitrary code, compromising confidentiality, integrity, and availability of the XWiki instance.
- Remediation: Upgrade to version 14.10.14, 15.6 RC1, or 15.5.1. Users unable to upgrade can apply the commit 'fec8e0e53f9' manually or restrict guest view rights on the document.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure, data_tampering
- Requirement type: logged_in
- Requirements: User needs read access to 'XWiki.AdminSheet'
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.897
- Epss percentile: 0.99789
- Assignee: [email protected]
- Published at: 2023-11-06T19:15:09Z
- Age in days: 1114
- Modified at: 2026-06-17T06:31:26Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-46731
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89 | nvd | 2023-11-06 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xwiki:xwiki | >= 15.0, < 15.5.1; < 14.10.14 | no | nvd | /v1/products/xwiki/xwiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| xwiki/xwiki-platform | commit, fix, package, security_advisory | yes | /v1/repositories/xwiki/xwiki-platform |
Index
- Repositories: 5
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-11-06
- Remote: yes
- Exposed hosts: 142594
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports