Vulnerability · Published Feb 9, 2022 · Assigned by GitHub_M
CVE-2022-23620Path traversal in xwiki-platform-skin-skinx
Medium 6.8
In plain English
A medium-severity path traversal in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-skin-skinx | 13.6 | GHSA-7ph6-5cmq-xgjq |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 6.2-rc-1, < 13.6 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7ph6-5cmq-xgjq x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/ab778254fb8f71c774e1c1239368c44fe3b6bba5 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-18819 x_refsource_MISC