# XWiki missing authorization when accessing the wiki level attachments list and metadata via REST API

Advisory record · `GHSA-r5cr-xm48-97xp`

- **Identifiers:** `GHSA-r5cr-xm48-97xp` · `CVE-2025-46554`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-862](https://cwe.mitre.org/data/definitions/862.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 30 Apr 2025
- **Updated:** 5 May 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 30 Apr 2025, 16:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.xwiki.platform:xwiki-platform-rest-server` (Maven): affected `>=1.8.1, <14.10.22 || >=15.0-rc-1, <15.10.12 || >=16.0.0-rc-1, <16.4.3 || >=16.5.0-rc-1, <16.7.0`; fixed in `14.10.22`, `15.10.12`, `16.4.3`, `16.7.0`

## Machine-written summary

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

> XWiki's xwiki-platform-rest-server (Maven org.xwiki.platform:xwiki-platform-rest-server) is affected in versions 1.8.1 up to 14.10.22, 15.0-rc-1 up to 15.10.12, 16.0.0-rc-1 up to 16.4.3, and 16.5.0-rc-1 up to 16.7.0. The REST endpoint for wiki attachments does not filter results by user rights, so an unauthenticated user can list attachments and read their metadata even on a private wiki. Upgrade to 14.10.22, 15.10.12, 16.4.3, or 16.7.0. No workaround other than upgrading is listed.

Written 7 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.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.011, the 65th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:11 UTC: First seen by agentprime
- 31 Oct 2026, 15:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-r5cr-xm48-97xp)

## Sources

- [GitHub Advisory Database: GHSA-r5cr-xm48-97xp](https://github.com/advisories/GHSA-r5cr-xm48-97xp)
- [OSV: GHSA-r5cr-xm48-97xp](https://osv.dev/vulnerability/GHSA-r5cr-xm48-97xp)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r5cr-xm48-97xp>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46554>
- <https://github.com/xwiki/xwiki-platform/commit/37ecea84fdd053c33733c2ae9a0778bf98eae608>
- <https://github.com/xwiki/xwiki-platform/commit/a43e933ddeda17dad1772396e1757998260e9342>
- <https://github.com/xwiki/xwiki-platform/commit/c02ce7843a39851865b9d7b6132e32fdd21e3856>
- <https://github.com/xwiki/xwiki-platform>
- <https://jira.xwiki.org/browse/XWIKI-22424>
- <https://jira.xwiki.org/browse/XWIKI-22427>

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-r5cr-xm48-97xp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r5cr-xm48-97xp/>. Everything for agents: <https://agentprime.io/llms.txt>.
