Skip to main content

XWiki Platform CVE-2026-48047

MEDIUM
Path Traversal: '../filedir' (CWE-24)
2026-05-26 https://github.com/xwiki/xwiki-platform GHSA-vgwr-23fq-pr7g
5.9
CVSS 4.0 · Vendor: https://github.com/xwiki/xwiki-platform
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker obtains subwiki admin credentials
  2. Delivery
    Publishes malicious WebJar with path traversal entries to configured extension repository
  3. Exploit
    Extension installed on wiki instance
  4. Execution
    FilesystemResourceReferenceCopier extracts JAR entries without boundary validation
  5. Persist
    Arbitrary files written outside export directory
  6. Impact
    Configuration files overwritten, superadmin credentials reset

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
Exploitation Conditions

Exploitation requires two concrete preconditions: (1) the attacker must hold admin rights to at least one subwiki within the target XWiki instance - unauthenticated or low-privilege users cannot trigger this path; (2) the attacker must be able to publish a malicious WebJar extension to an extension repository that is actively configured and trusted by the XWiki instance, and that extension must be installed on the wiki (either by the attacker themselves if they have install rights, or by a higher-privileged administrator). Exploitation is further constrained to XWiki instances running affected version ranges (9.6-rc-1 to 16.10.16, 17.0.0-rc-1 to 17.4.8, or 17.5.0-rc-1 to 17.10.2). The requirement to control a repository entry point or convince an admin to install a malicious package significantly limits opportunistic exploitation.

Impact

No CVSS vector is available for this CVE, preventing quantitative scoring comparison. The advisory description implies an elevated-privilege, multi-step attack chain: the attacker must already hold admin rights on at least one subwiki and must be able to publish a malicious extension to a repository trusted and configured in the target instance. These preconditions substantially reduce the realistic attack surface compared to unauthenticated network-exploitable vulnerabilities. No EPSS score is available and the CVE is not listed in CISA KEV, indicating no confirmed active exploitation. No public POC has been identified. Despite the high theoretical impact (arbitrary file write enabling superadmin credential reset and full instance takeover), the exploitation bar is elevated enough that this should be treated as a medium-urgency patch rather than an emergency, except in multi-tenant environments where subwiki admin roles are granted to semi-trusted or external parties - where it should be treated as high priority.

Exploit ScenarioDerived

An attacker who holds subwiki admin access publishes a crafted WebJar extension to a repository configured in the target XWiki instance; the JAR contains entries with path traversal sequences such as ../../webapps/xwiki/WEB-INF/xwiki.cfg. Once the extension is installed - either by the attacker directly or by persuading another administrator - FilesystemResourceReferenceCopier extracts the malicious entries outside the export directory, overwriting XWiki configuration files and enabling the attacker to reset the superadmin password and achieve full instance compromise. No public POC code has been identified, but the path traversal technique in JAR extraction is well-documented and straightforward to implement for anyone with the required access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Path traversal in XWiki Platform's WebJars API enables a subwiki admin who can publish and install a malicious WebJar extension to write arbitrary files anywhere on the server filesystem. The affected Maven component xwiki-platform-webjars-api fails to validate that JAR entry paths extracted during extension installation remain within the intended export directory, allowing overwrite of configuration files or potential superadmin credential manipulation. No public exploit is identified and no CISA KEV listing exists; vendor-released patches are available across three version branches.

RemediationAI

Upgrade XWiki Platform to a patched release: 16.10.17 for the 16.x LTS branch, 17.4.9 for the 17.4.x branch, 17.10.3 for the 17.10.x branch, or 18.0.0RC1 and later. The upstream code fix is available at https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c. The vendor explicitly states no technical workarounds are known beyond carefully auditing who is granted script and admin rights. As a compensating control for instances that cannot immediately upgrade, administrators should audit and restrict which external extension repositories are configured in the instance - removing untrusted or unnecessary repositories reduces the pathway for a malicious extension to be published and installed, though this does not eliminate the vulnerability and limits legitimate extension availability. Additionally, reviewing and tightening subwiki admin role assignments to only fully trusted internal users is the most effective risk reduction short of patching.

Affected Packages

maven org.xwiki.platform:xwiki-platform-webjars-api fix: 16.10.17, 17.4.9, 17.10.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability (CWE-24: Path Traversal) resides in FilesystemResourceReferenceCopier.java within the Maven artifact pkg:maven/org.xwiki.platform:xwiki-platform-webjars-api. The copyResourceFromJAR method previously constructed a target File object by concatenating user-controlled JAR entry names with a base export directory path, without verifying the resolved canonical path remained within that directory. A maliciously crafted WebJar could embed entries using ../ sequences to escape the export directory boundary. The fix - commit 9f747fcd3200259a1de51957d3f5f6acc8e3816c - adds explicit canonical path containment checks: both the target location and the export directory are resolved via getCanonicalPath(), and a startsWith() guard ensures no write proceeds outside the export directory. CSS resource resolution in processCSSfile received an analogous prefix-boundary check.

Know when Atlassian gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/xwiki/xwiki-platform) PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/xwiki/xwiki-platform) · only source for this CVE.

CVSS VectorVendor: https://github.com/xwiki/xwiki-platform

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Aug 07, 2026 - 23:22 NVD
5.9 (MEDIUM)

DescriptionCVE.org

Impact

A potential path traversal vulnerability allow an attacker who manages to get a malicious WebJar extension installed on the wiki to write arbitrary files. While the consequences could be severe like overriding configuration files and setting the superadmin password, the attack first requires that the attacker already has admin access to at least a subwiki to be able to install a malicious extension. Further, the attacker needs to publish a malicious extension in an extension repository that is configured in the instance.

Patches

This vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, and 18.0.0RC1.

Workarounds

XWiki is not aware of any workarounds except for being careful whom developers grant script and admin rights to.

Resources

  • https://jira.xwiki.org/browse/XWIKI-23902
  • https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

pkg:maven/org.xwiki.platform:xwiki-platform-webjars-api
pkg:maven/org.xwiki.platform:xwiki-platform-webjars-api
pkg:maven/org.xwiki.platform:xwiki-platform-webjars-api
CVE-2023-22515 CRITICAL POC
9.8 Oct 04

Atlassian has been made aware of an issue reported by a handful of customers where external attackers may have exploited

CVE-2015-5603 MEDIUM POC
6.5 Sep 21

The HipChat for JIRA plugin before 6.30.0 for Atlassian JIRA allows remote authenticated users to execute arbitrary Java

CVE-2015-8399 MEDIUM POC
4.3 Apr 11

Atlassian Confluence before 5.8.17 allows remote authenticated users to read configuration files via the decoratorName p

CVE-2012-2926 CRITICAL POC
9.1 May 22

Atlassian JIRA before 5.0.1; Confluence before 3.5.16, 4.0 before 4.0.7, and 4.1 before 4.1.10; FishEye and Crucible bef

CVE-2014-2314 MEDIUM POC
4.3 Mar 09

Directory traversal vulnerability in the Issue Collector plugin in Atlassian JIRA before 6.0.4 allows remote attackers t

CVE-2023-22518 CRITICAL POC
9.8 Oct 31

All versions of Confluence Data Center and Server are affected by this unexploited vulnerability. Rated critical severit

CVE-2022-43781 CRITICAL POC
9.8 Nov 17

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. Rated critic

CVE-2022-26134 CRITICAL POC
9.8 Jun 03

In affected versions of Confluence Server and Data Center, an OGNL injection vulnerability exists that would allow an un

CVE-2019-11580 CRITICAL POC
9.8 Jun 03

Atlassian Crowd and Crowd Data Center had the pdkinstall development plugin incorrectly enabled in release builds. Rated

CVE-2017-9506 MEDIUM POC
6.1 Aug 23

The IconUriServlet of the Atlassian OAuth Plugin from version 1.3.0 before version 1.9.12 and from version 2.0.0 before

CVE-2024-21683 HIGH POC
8.8 May 21

This High severity RCE (Remote Code Execution) vulnerability was introduced in version 5.2 of Confluence Data Center and

CVE-2022-36804 HIGH POC
8.8 Aug 25

Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 bef

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy