High severity · published Oct 25, 2023
CVE-2023-37913
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it
8.8
CVSS
1.4%
EPSS
No
On KEV
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting in version 3.5-milestone-1 and prior to versions 14.10.8 and 15.3-rc-1, triggering the office converter with a specially crafted file name allows writing the attachment's content to an attacker-controlled location on the server as long as the Java process has write access to that location. In particular in the combination with attachment moving, a feature introduced in XWiki 14.0, this is easy to reproduce but it also possible to reproduce in versions as old as XWiki 3.5 by uploading the attachment through the REST API which doesn't remove `/` or `\` from the filename. As the mime type of the attachment doesn't matter for the exploitation, this could e.g., be used to replace the `jar`-file of an extension which would allow executing arbitrary Java code and thus impact the confidentiality, integrity and availability of the XWiki installation. This vulnerability has been patched in XWiki 14.10.8 and 15.3RC1. There are no known workarounds apart from disabling the office converter.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
Xwiki · Xwiki
3.5 before 14.10.8; 15.0 before 15.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-37913
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-37913
Patch
https://github.com/xwiki/xwiki-platform/commit/45d182a4141ff22f3ff289cf71e4669bdc714544
Patch
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vcvr-v426-3m3m
Exploit
https://jira.xwiki.org/browse/XWIKI-20715
More from Xwiki
9.8
CVE-2025-24893
Remote code execution as guest via SolrSearchMacros request in xwiki
9.9
CVE-2023-27479
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it
9.8
CVE-2026-33229
XWiki Platform affected by remote code execution with script right through unprotected Velocity scripting API
9.8
CVE-2025-54385
XWiki Platform's searchDocuments API allows for SQL injection
9.8
CVE-2025-32429
XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter
