# CVE-2024-37898: XWiki Platform vulnerable to document deletion and overwrite from edit

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

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.84% (percentile 55, 2026-11-26)
- **CWE:** CWE-862
- **Aliases:** GHSA-33gp-gmg3-hfpq
- **Published:** 2024-07-31T15:12:22.468Z
- **Modified:** 2026-06-17T07:39:00.653Z

## Who should check

- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-oldcore (\>= 13.10.4, \< 14.10.21)
- Anyone running xwiki-platform \>= 13.10.4, \< 14.0-rc-1; \>= 14.2, \< 14.10.21; \>= 15.0, \< 15.5.5; \>= 15.6-rc-1, \< 15.10.6

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When a user has view but not edit right on a page in XWiki, that user can delete the page and replace it by a page with new content without having delete right. The previous version of the page is moved into the recycle bin and can be restored from there by an admin. As the user is recorded as deleter, the user would in theory also be able to view the deleted content, but this is not directly possible as rights of the previous version are transferred to the new page and thus the user still doesn't have view right on the page. It therefore doesn't seem to be possible to exploit this to gain any rights. This has been patched in XWiki 14.10.21, 15.5.5 and 15.10.6 by cancelling save operations by users when a new document shall be saved despite the document's existing already.

## Affected and fixed versions

- Maven `org.xwiki.platform:xwiki-platform-oldcore`: affected \>= 13.10.4, \< 14.10.21; fixed 14.10.21, 15.5.5, 15.10.6 (osv)
- xwiki-platform: \>= 13.10.4, \< 14.0-rc-1; \>= 14.2, \< 14.10.21; \>= 15.0, \< 15.5.5; \>= 15.6-rc-1, \< 15.10.6 (cvelist)

## Mitigation

- Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 14.10.21, 15.5.5, 15.10.6 (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-37898. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-37898.md
Affected: org.xwiki.platform:xwiki-platform-oldcore >= 13.10.4, < 14.10.21
Fixed in: 14.10.21, 15.5.5, 15.10.6

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-37898 being exploited?

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

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

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

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

org.xwiki.platform:xwiki-platform-oldcore \>= 13.10.4, \< 14.10.21.

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

Yes. Fixed in 14.10.21, 15.5.5, 15.10.6. Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 14.10.21, 15.5.5, 15.10.6 (or later in the same release line).

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

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-33gp-gmg3-hfpq>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-37898>
- patch: <https://github.com/xwiki/xwiki-platform/commit/0bc27d6ec63c8a505ff950e2d1792cb4f773c22e>
- patch: <https://github.com/xwiki/xwiki-platform/commit/56f5d8aab7371d5ba891168f73890806551322c5>
- patch: <https://github.com/xwiki/xwiki-platform/commit/c5efc1e519e710afdf3c5f40c0fcc300ad77149f>
- patch: <https://github.com/xwiki/xwiki-platform/commit/e4968fe268e5644ffd9bfa4ef6257d2796446009>
- other: <https://jira.xwiki.org/browse/XWIKI-21553>
- 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-37898>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-33gp-gmg3-hfpq> (license: <https://creativecommons.org/licenses/by/4.0/>)

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