CVE-2022-23620 Path traversal in xwiki-platform-skin-skinx
Attackers can exploit improper escaping in HTML export to traverse directories and read or modify files on the server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-23620?
CVE-2022-23620 is a medium-severity path traversal vulnerability in Xwiki Xwiki, published on 9 Feb 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions AbstractSxExportURLFactoryActionHandler#processSx does not escape anything from SSX document references when serializing it on filesystem, it is possible to for the HTML export process to contain reference elements containing filesystem syntax like "../", "./". or "/" in general. The referenced elements are not properly escaped. This issue has been resolved in version 13.6-rc-1. This issue can be worked around by limiting or disabling document export.
Which versions are affected by CVE-2022-23620?
2 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-skin-skinx. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-skin-skinx Maven | From 6.2-rc-1 | 13.6 |
org.xwiki.platform:xwiki-platform-skin-skinx Maven | From 6.2-rc-1 | 13.6 |
Products include Xwiki Xwiki.
How do I fix CVE-2022-23620?
Upgrade org.xwiki.platform:xwiki-platform-skin-skinx to 13.6 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-23620 being exploited?
There is no known exploitation of CVE-2022-23620 in the wild and no public exploit code.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-7ph6-5cmq-xgjq.