CVE-2023-36470 XWiki
| Affected software | XWiki |
|---|---|
| Severity | 9.9 Critical CVSS 3.1 2 scores |
| Fixed in | 14.10.6, 15.2-rc-1 |
| Weakness | CWE-74 |
| Published | 29 Jun 2023 |
| Updated | 17 Jun 2026 |
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. By either creating a new or editing an existing document with an icon set, an attacker can inject XWiki syntax and Velocity code that is executed with programming rights and thus allows remote code execution. There are different attack vectors, the simplest is the Velocity code in the icon set's HTML or XWiki syntax definition. The [icon picker](https://extensions.xwiki.org/xwiki/bin/view/Extension/Icon%20Theme%20Application#HIconPicker) can be used to trigger the rendering of any icon set. The XWiki syntax variant of the icon set is also used without any escaping in some documents, allowing to inject XWiki syntax including script macros into a document that might have programming right, for this the currently used icon theme needs to be edited. Further, the HTML output of the icon set is output as JSON in the icon picker and this JSON is interpreted as XWiki syntax, allowing again the injection of script macros into a document with programming right and thus allowing remote code execution. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This issue has been patched in XWiki 14.10.6 and 15.1. Icon themes now require script right and the code in the icon theme is executed within the context of the icon theme, preventing any rights escalation. A macro for displaying icons has been introduced to avoid injecting the raw wiki syntax of an icon set into another document. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
- Indexed PoC none indexed
- EPSS 1.9% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: xwiki/xwiki-platform 46b5428.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
| Candidate fix | https://github.com/xwiki/xwiki-platform/commit/46b542854978e9caa687a5c2b8817b8b17877d94 : a commit: the change itself |
CVSS
9.9 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
2 metrics
CVSS
9.9 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
security-advisories@github.com | Secondary | published |
| CVSS 3.1 | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.xwiki.platform:xwiki-platform-icon-default |
6.2-milestone-1 | 14.10.6 |
unbounded |
org.xwiki.platform:xwiki-platform-icon-script |
6.2-milestone-1 | 14.10.6 |
unbounded |
org.xwiki.platform:xwiki-platform-icon-script |
15.0-rc-1 | 15.2-rc-1 |
unbounded |
org.xwiki.platform:xwiki-platform-icon-default |
15.0-rc-1 | 15.2-rc-1 |
unbounded |
org.xwiki.platform:xwiki-platform-icon-ui |
6.2-milestone-1 | 14.10.6 |
unbounded |
org.xwiki.platform:xwiki-platform-icon-ui |
15.0-rc-1 | 15.2-rc-1 |
unbounded |
Products and versions
4 products, 11 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.xwiki.platform | xwiki-platform-icon-default | generic | ≥ 6.2 and < 14.10.6 · ≥ 15.0 and < 15.2 |
| osv | org.xwiki.platform | xwiki-platform-icon-script | generic | ≥ 6.2 and < 14.10.6 · ≥ 15.0 and < 15.2 |
| osv | org.xwiki.platform | xwiki-platform-icon-ui | generic | ≥ 6.2 and < 14.10.6 · ≥ 15.0 and < 15.2 |
| nvd | xwiki | xwiki | generic | ≥ 6.2 and < 14.10.6 · 15.0 · 15.0:rc1 · 15.1 · 15.1:rc1 |
References
Timeline
Timeline
| Published | 2023-06-29 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |