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.
Remediation
References
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7ph6-5cmq-xgjq
https://jira.xwiki.org/browse/XWIKI-18819
https://github.com/xwiki/xwiki-platform/commit/ab778254fb8f71c774e1c1239368c44fe3b6bba5
Related Vulnerabilities
CVE-2022-40664 Vulnerability in maven package org.apache.shiro:shiro-core
CVE-2021-37580 Vulnerability in maven package org.apache.shenyu:shenyu-admin
CVE-2022-31190 Vulnerability in maven package org.dspace:dspace-xmlui
CVE-2018-3774 Vulnerability in npm package url-parse
CVE-2020-15813 Vulnerability in maven package org.graylog2:graylog2-server