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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.73% (percentile 78, 2026-11-26)
- **CWE:** CWE-862
- **Aliases:** GHSA-r5cr-xm48-97xp
- **Published:** 2025-04-30T16:49:47.000Z
- **Modified:** 2026-06-17T09:26:37.277Z

## Who should check

- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-rest-server (\>= 1.8.1, \< 14.10.22)
- Anyone running xwiki-platform \>= 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

## 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.

## Affected and fixed versions

- Maven `org.xwiki.platform:xwiki-platform-rest-server`: affected \>= 1.8.1, \< 14.10.22; fixed 14.10.22, 15.10.12, 16.4.3, 16.7.0 (osv)
- xwiki-platform: \>= 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 (cvelist)

## Mitigation

- Upgrade org.xwiki.platform:xwiki-platform-rest-server to one of 14.10.22, 15.10.12, 16.4.3, 16.7.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-46554. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46554.md
Affected: org.xwiki.platform:xwiki-platform-rest-server >= 1.8.1, < 14.10.22
Fixed in: 14.10.22, 15.10.12, 16.4.3, 16.7.0

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-rest-server (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-46554 being exploited?

There is no confirmed exploitation: CVE-2025-46554 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-46554?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-46554?

org.xwiki.platform:xwiki-platform-rest-server \>= 1.8.1, \< 14.10.22.

### Is there a fix for CVE-2025-46554?

Yes. Fixed in 14.10.22, 15.10.12, 16.4.3, 16.7.0. Upgrade org.xwiki.platform:xwiki-platform-rest-server to one of 14.10.22, 15.10.12, 16.4.3, 16.7.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-46554?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r5cr-xm48-97xp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-46554>
- patch: <https://github.com/xwiki/xwiki-platform/commit/37ecea84fdd053c33733c2ae9a0778bf98eae608>
- patch: <https://github.com/xwiki/xwiki-platform/commit/a43e933ddeda17dad1772396e1757998260e9342>
- patch: <https://github.com/xwiki/xwiki-platform/commit/c02ce7843a39851865b9d7b6132e32fdd21e3856>
- exploit: <https://jira.xwiki.org/browse/XWIKI-22424>
- other: <https://github.com/xwiki/xwiki-platform>
- other: <https://jira.xwiki.org/browse/XWIKI-22427>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-46554>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r5cr-xm48-97xp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-46554> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-46554>
