Vulnerability · Published Aug 7, 2026 · Assigned by GitHub_M
CVE-2026-48047XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin
Medium 5.9
In plain English
A medium-severity security flaw in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform WebJars API is a package for XWiki, a generic wiki platform. Starting with version 9.6-rc-1 and prior to versions 16.10.17, 17.4.9, and 17.10.3, 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. This vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, and 18.0.0RC1. XWiki is not aware of any workarounds except for being careful whom developers grant script and admin rights to.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-webjars-api | 16.10.17 | GHSA-vgwr-23fq-pr7g |
| Maven | org.xwiki.platform:xwiki-platform-webjars-api | 17.4.9 | GHSA-vgwr-23fq-pr7g |
| Maven | org.xwiki.platform:xwiki-platform-webjars-api | 17.10.3 | GHSA-vgwr-23fq-pr7g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 9.6-rc-1, < 16.10.17>= 17.0.0-rc-1, < 17.4.9>= 17.5.0-rc-1, < 17.10.3 |
Weakness: CWE-24 · Vector: 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
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vgwr-23fq-pr7g x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-23902 x_refsource_MISC