# CVE-2024-31464: XWiki Platform: Password hash might be leaked by diff once the xobject holding them is deleted

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.69% (percentile 48, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-v782-xr4w-3vqx
- **Published:** 2024-04-10T17:07:27.000Z
- **Modified:** 2026-09-10T03:50:00.391Z

## Who should check

- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-oldcore (\>= 5.0-rc-1, \< 14.10.19)
- Anyone running xwiki-platform \>= 5.0-rc-1, \< 14.10.19; \>= 15.0-rc-1, \< 15.5.4; \>= 15.6-rc-1, \< 15.9-rc-1

## Description

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.

## Affected and fixed versions

- Maven `org.xwiki.platform:xwiki-platform-oldcore`: affected \>= 5.0-rc-1, \< 14.10.19; fixed 14.10.19, 15.5.4, 15.9-rc-1 (osv)
- xwiki-platform: \>= 5.0-rc-1, \< 14.10.19; \>= 15.0-rc-1, \< 15.5.4; \>= 15.6-rc-1, \< 15.9-rc-1 (cvelist)

## Mitigation

- Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 14.10.19, 15.5.4, 15.9-rc-1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-31464. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-31464.md
Affected: org.xwiki.platform:xwiki-platform-oldcore >= 5.0-rc-1, < 14.10.19
Fixed in: 14.10.19, 15.5.4, 15.9-rc-1

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-oldcore (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-31464 being exploited?

There is no confirmed exploitation: CVE-2024-31464 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-31464?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-31464?

org.xwiki.platform:xwiki-platform-oldcore \>= 5.0-rc-1, \< 14.10.19.

### Is there a fix for CVE-2024-31464?

Yes. Fixed in 14.10.19, 15.5.4, 15.9-rc-1. Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 14.10.19, 15.5.4, 15.9-rc-1 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-31464?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v782-xr4w-3vqx>
- vendor: <https://jira.xwiki.org/browse/XWIKI-19948>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-31464>
- patch: <https://github.com/xwiki/xwiki-platform/commit/9075668a4135cce114ef2a4b72eba3161a9e94c4>
- patch: <https://github.com/xwiki/xwiki-platform/commit/955fb097e02a2a7153f527522ee9eef42447e5d7>
- patch: <https://github.com/xwiki/xwiki-platform/commit/f1eaec1e512220fabd970d053c627e435a1652cf>
- other: <https://github.com/xwiki/xwiki-platform>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-31464>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v782-xr4w-3vqx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-31464> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-31464>
