XWiki Platform: Password hash might be leaked by diff once the xobject holding them is deleted
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.19, 15.5.4, and 15.9-rc-1, it is possible to access the hash of a password by using the diff feature of the history whenever the object storing the password is deleted. Using that vulnerability it's possible for an attacker to have access to the hash password of a user if they have rights to edit the users' page. With the default right scheme in XWiki this vulnerability is normally prevented on user profiles, except by users with Admin rights. Note that this vulnerability also impacts any extensions that might use passwords stored in xobjects: for those usecases it depends on the right of those pages. There is currently no way to be 100% sure that this vulnerability has been exploited, as an attacker with enough privilege could have deleted the revision where the xobject was deleted after rolling-back the deletion. But again, this operation requires high privileges on the target page (Admin right). A page with a user password xobject which have in its history a revision where the object has been deleted should be considered at risk and the password should be changed there. a diff, to ensure it's not coming from a password field. As another mitigation, admins should ensure that the user pages are properly protected: the edit right shouldn't be allowed for other users than Admin and owner of the profile (which is the default right). There is not much workaround possible for a privileged user other than upgrading XWiki.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 5.0-rc-1 to before 14.10.19; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.9-rc-1 | 14.10.19, 15.5.4, 15.9-rc-1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 5.0-rc-1 to before 14.10.19 | 14.10.19 | Patch available | GHSA-v782-xr4w-3vqx |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 15.0-rc-1 to before 15.5.4 | 15.5.4 | Patch available | GHSA-v782-xr4w-3vqx |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 15.6-rc-1 to before 15.9-rc-1 | 15.9-rc-1 | Patch available | GHSA-v782-xr4w-3vqx |
- xwiki-platform VendorXWiki Affected 5.0-rc-1 to before 14.10.19; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.9-rc-1 Fixed in 14.10.19, 15.5.4, 15.9-rc-1 Patch available CNA
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 5.0-rc-1 to before 14.10.19 Fixed in 14.10.19 Patch available GHSA-v782-xr4w-3vqx
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.4 Fixed in 15.5.4 Patch available GHSA-v782-xr4w-3vqx
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 15.6-rc-1 to before 15.9-rc-1 Fixed in 15.9-rc-1 Patch available GHSA-v782-xr4w-3vqx
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.19, 15.5.4, 15.9-rc-1
- Fix · GHSA-v782-xr4w-3vqx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 14.10.19 Advisory →
- Fix · GHSA-v782-xr4w-3vqx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 15.5.4 Advisory →
- Fix · GHSA-v782-xr4w-3vqx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 15.9-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31464
- 2026-10-03 Alias added: GHSA-v782-xr4w-3vqx
References
Patch 3
Advisory 3
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2024-31464 · CVE Program
- CVE-2024-31464 · NVD
- FIRST EPSS
- GHSA-v782-xr4w-3vqx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences