Code injection in icon themes of XWiki Platform
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 6.2-milestone-1 to before 14.10.6 | 14.10.6 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-icon-default (Maven) | 6.2-milestone-1 to before 14.10.6 | 14.10.6 | Patch available | GHSA-fm68-j7ww-h9xf |
| — | org.xwiki.platform:xwiki-platform-icon-script (Maven) | 6.2-milestone-1 to before 14.10.6 | 14.10.6 | Patch available | GHSA-fm68-j7ww-h9xf |
| — | org.xwiki.platform:xwiki-platform-icon-script (Maven) | 15.0-rc-1 to before 15.2-rc-1 | 15.2-rc-1 | Patch available | GHSA-fm68-j7ww-h9xf |
| — | org.xwiki.platform:xwiki-platform-icon-default (Maven) | 15.0-rc-1 to before 15.2-rc-1 | 15.2-rc-1 | Patch available | GHSA-fm68-j7ww-h9xf |
| — | org.xwiki.platform:xwiki-platform-icon-ui (Maven) | 6.2-milestone-1 to before 14.10.6 | 14.10.6 | Patch available | GHSA-fm68-j7ww-h9xf |
| — | org.xwiki.platform:xwiki-platform-icon-ui (Maven) | 15.0-rc-1 to before 15.2-rc-1 | 15.2-rc-1 | Patch available | GHSA-fm68-j7ww-h9xf |
- xwiki-platform VendorXWiki Affected 6.2-milestone-1 to before 14.10.6 Fixed in 14.10.6 Patch available CNA
- org.xwiki.platform:xwiki-platform-icon-default (Maven) Vendor— Affected 6.2-milestone-1 to before 14.10.6 Fixed in 14.10.6 Patch available GHSA-fm68-j7ww-h9xf
- org.xwiki.platform:xwiki-platform-icon-script (Maven) Vendor— Affected 6.2-milestone-1 to before 14.10.6 Fixed in 14.10.6 Patch available GHSA-fm68-j7ww-h9xf
- org.xwiki.platform:xwiki-platform-icon-script (Maven) Vendor— Affected 15.0-rc-1 to before 15.2-rc-1 Fixed in 15.2-rc-1 Patch available GHSA-fm68-j7ww-h9xf
- org.xwiki.platform:xwiki-platform-icon-default (Maven) Vendor— Affected 15.0-rc-1 to before 15.2-rc-1 Fixed in 15.2-rc-1 Patch available GHSA-fm68-j7ww-h9xf
- org.xwiki.platform:xwiki-platform-icon-ui (Maven) Vendor— Affected 6.2-milestone-1 to before 14.10.6 Fixed in 14.10.6 Patch available GHSA-fm68-j7ww-h9xf
- org.xwiki.platform:xwiki-platform-icon-ui (Maven) Vendor— Affected 15.0-rc-1 to before 15.2-rc-1 Fixed in 15.2-rc-1 Patch available GHSA-fm68-j7ww-h9xf
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 6.2 to before 14.10.6 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* | 15.0 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* | 15.0 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* | 15.1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* | 15.1 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 6.2 to before 14.10.6 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* Versions 15.0 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* Versions 15.0 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* Versions 15.1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* Versions 15.1 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.6
- Fix · GHSA-fm68-j7ww-h9xf org.xwiki.platform:xwiki-platform-icon-default (Maven) Fixed in 14.10.6 Advisory →
- Fix · GHSA-fm68-j7ww-h9xf org.xwiki.platform:xwiki-platform-icon-script (Maven) Fixed in 14.10.6 Advisory →
- Fix · GHSA-fm68-j7ww-h9xf org.xwiki.platform:xwiki-platform-icon-script (Maven) Fixed in 15.2-rc-1 Advisory →
- Fix · GHSA-fm68-j7ww-h9xf org.xwiki.platform:xwiki-platform-icon-default (Maven) Fixed in 15.2-rc-1 Advisory →
- Fix · GHSA-fm68-j7ww-h9xf org.xwiki.platform:xwiki-platform-icon-ui (Maven) Fixed in 14.10.6 Advisory →
- Fix · GHSA-fm68-j7ww-h9xf org.xwiki.platform:xwiki-platform-icon-ui (Maven) Fixed in 15.2-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-36470
- 2026-10-03 Alias added: GHSA-fm68-j7ww-h9xf
References
Exploit 2
Patch 3
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-36470 · CVE Program
- CVE-2023-36470 · NVD
- FIRST EPSS
- GHSA-fm68-j7ww-h9xf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences