CVE-2026-48047 XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin

Medium 5.9 Published Updated

A subwiki admin can install a malicious WebJar extension to write arbitrary files via path traversal, potentially overriding configurations or resetting the superadmin password.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-48047?

CVE-2026-48047 is a medium-severity path traversal vulnerability in xwiki-platform, published on 7 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim.

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.

Weakness: CWE-24

Which versions are affected by CVE-2026-48047?

6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-webjars-api.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-webjars-api MavenFrom 17.0.0-rc-117.4.9
org.xwiki.platform:xwiki-platform-webjars-api MavenFrom 17.0.0-rc-117.4.9
org.xwiki.platform:xwiki-platform-webjars-api MavenFrom 17.5.0-rc-117.10.3
org.xwiki.platform:xwiki-platform-webjars-api MavenFrom 17.5.0-rc-117.10.3
org.xwiki.platform:xwiki-platform-webjars-api MavenFrom 9.6-rc-116.10.17
org.xwiki.platform:xwiki-platform-webjars-api MavenFrom 9.6-rc-116.10.17

How do I fix CVE-2026-48047?

Upgrade org.xwiki.platform:xwiki-platform-webjars-api to a fixed version for your release line: 17.4.9, 17.10.3 or 16.10.17.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-48047 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48047 exists.

Sources

Also known as GHSA-vgwr-23fq-pr7g.

Is CVE-2026-48047 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free