GHSA-7ph6-5cmq-xgjq

Suggest an improvement
Source
https://github.com/advisories/GHSA-7ph6-5cmq-xgjq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-7ph6-5cmq-xgjq/GHSA-7ph6-5cmq-xgjq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7ph6-5cmq-xgjq
Aliases
Published
2022-02-09T21:53:29Z
Modified
2023-11-08T04:08:25.267416Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:H CVSS Calculator
Summary
Path traversal in xwiki-platform-skin-skinx
Details

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. AbstractSxExportURLFactoryActionHandler#processSx does not escape anything from SSX document reference when serializing it on filesystem, so it's easy to mess up the HTML export process with reference elements containing filesystem syntax like "../", "./". or "/" in general (the last two not causing any security threat, but can cause conflicts with others serialized files). Patch can be found in 13.6-rc-1. Giving script or subwiki admin right only to trusted people and disabling HTML/PDF export can be done as workaround.

Database specific
{
    "nvd_published_at": "2022-02-09T22:15:00Z",
    "cwe_ids": [
        "CWE-116",
        "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-02-09T21:53:29Z"
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-skin-skinx

Package

Name
org.xwiki.platform:xwiki-platform-skin-skinx
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2-rc-1
Fixed
13.6