CVE-2026-48047 — xwiki-platform-webjars-api
Fix: xwiki/xwiki-platform@9f747fcCVE-2026-48047 is a CWE-24 vulnerability in org.xwiki.platform:xwiki-platform-webjars-api. A fix is available for org.xwiki.platform:xwiki-platform-webjars-api — see the affected versions and patch details below.
XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-48047.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.xwiki.platform:xwiki-platform-webjars-api☕org.xwiki.platform:xwiki-platform-webjars-api☕org.xwiki.platform:xwiki-platform-webjars-apiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-webjars-api | ≥ 9.6-rc-1&&< 16.10.17 | 16.10.17org.xwiki.platform:xwiki-platform-webjars-api:16.10.17 |
| ☕Maven | org.xwiki.platform:xwiki-platform-webjars-api | ≥ 17.0.0-rc-1&&< 17.4.9 | 17.4.9org.xwiki.platform:xwiki-platform-webjars-api:17.4.9 |
| ☕Maven | org.xwiki.platform:xwiki-platform-webjars-api | ≥ 17.5.0-rc-1&&< 17.10.3 | 17.10.3org.xwiki.platform:xwiki-platform-webjars-api:17.10.3 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-webjars-api, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-webjars-api to 16.10.17 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-48047 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2026-48047 in your dependencies?
Find it across Maven, including transitive dependencies.