{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "17.10.5"
              },
              {
                "introduced": "18.0.0-rc-1"
              },
              {
                "fixed": "18.2.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2d7521e419f12af58cf680a34df635bc00a6f621"
            },
            {
              "introduced": "c867b3899680bc320d9c834ff2e1f4e061989491"
            },
            {
              "fixed": "2b5388e7e7c591476ca3a9aebd9397703e9bc355"
            }
          ],
          "repo": "https://github.com/xwiki/xwiki-commons",
          "type": "GIT"
        },
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "79eba8655f3a96021a8e7ad07956e48d20a82383"
            },
            {
              "fixed": "f7b33704083d3b4e45d1b9fc1e2cc33c66855f85"
            },
            {
              "fixed": "429bcd1dbf184b95cf38253225568c111220431e"
            },
            {
              "fixed": "1592ba8e7a5b521d24af0ce80f505b31271aace1"
            }
          ],
          "repo": "https://github.com/xwiki/xwiki-platform",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-qj4x-9g63-25g6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-24"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34151.json"
  },
  "details": "XWiki Platform is a generic wiki platform. Prior to 17.10.5 and 18.2.0, the /skin/ action in com.xpn.xwiki.web.SkinAction can resolve double-encoded parent-directory segments outside the intended skin or web-application resource prefix when Jetty 12 or later decodes the request path. The affected lookup is replaced with Environment.getResourceAsStream(String, String), which constrains a resource to its expected prefix. An unauthenticated remote attacker can use the vulnerable behavior to read arbitrary resources permitted to the Jetty process, including WEB-INF/xwiki.cfg and, depending on deployment depth and operating-system permissions, host files. Tomcat and Jetty versions before 12 do not appear affected. This issue is fixed in versions 17.10.5 and 18.2.0.",
  "id": "CVE-2026-34151",
  "modified": "2026-09-16T03:31:01.774294677Z",
  "published": "2026-09-14T17:12:18.814Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0"
    },
    {
      "type": "WEB",
      "url": "https://jira.xwiki.org/browse/XCOMMONS-3594"
    },
    {
      "type": "WEB",
      "url": "https://jira.xwiki.org/browse/XWIKI-24075"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34151.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34151"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xwiki/xwiki-commons/pull/1675"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xwiki/xwiki-platform/commit/79eba8655f3a96021a8e7ad07956e48d20a82383"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xwiki/xwiki-platform/commit/f7b33704083d3b4e45d1b9fc1e2cc33c66855f85"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+"
}