# XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin

Advisory record · `GHSA-vgwr-23fq-pr7g`

- **Identifiers:** `GHSA-vgwr-23fq-pr7g` · `CVE-2026-48047`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-24](https://cwe.mitre.org/data/definitions/24.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 26 May 2026
- **Updated:** 26 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 26 May 2026, 19:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.xwiki.platform:xwiki-platform-webjars-api` (Maven): affected `>=9.6-rc-1, <16.10.17 || >=17.0.0-rc-1, <17.4.9 || >=17.5.0-rc-1, <17.10.3`; fixed in `16.10.17`, `17.4.9`, `17.10.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The xwiki-platform-webjars-api Maven package is vulnerable to path traversal in versions from 9.6-rc-1 up to 16.10.17, from 17.0.0-rc-1 up to 17.4.9, and from 17.5.0-rc-1 up to 17.10.3. An attacker who already has admin rights on at least one subwiki and can get a malicious WebJar extension installed, through a configured extension repository, could write arbitrary files, possibly overwriting configuration or the superadmin password. Upgrade to 16.10.17, 17.4.9, 17.10.3, or 18.0.0RC1; the source lists no workaround beyond limiting script and admin rights.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0065, the 51st percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:20 UTC: First seen by agentprime
- 31 Oct 2026, 14:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vgwr-23fq-pr7g)

## Sources

- [GitHub Advisory Database: GHSA-vgwr-23fq-pr7g](https://github.com/advisories/GHSA-vgwr-23fq-pr7g)
- [OSV: GHSA-vgwr-23fq-pr7g](https://osv.dev/vulnerability/GHSA-vgwr-23fq-pr7g)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vgwr-23fq-pr7g>
- <https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c>
- <https://github.com/xwiki/xwiki-platform>
- <https://jira.xwiki.org/browse/XWIKI-23902>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vgwr-23fq-pr7g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vgwr-23fq-pr7g/>. Everything for agents: <https://agentprime.io/llms.txt>.
