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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-07-31T15:12:22.468Z
- Modified: 2026-06-17T07:39:00.653Z
- Also known as: GHSA-33gp-gmg3-hfpq
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki 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
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 13.10.4 before 14.10.21; from 14.2 before 14.10.21; from 15.0 before 15.5.5; from 15.6-rc-1 before 15.10.6
- xwiki xwiki: from 13.10.4 before 14.0; from 14.2 before 14.10.21; from >15.0 before 15.5.5; from 15.6 before 15.10.6; 15.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-33gp-gmg3-hfpq> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/0bc27d6ec63c8a505ff950e2d1792cb4f773c22e> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/56f5d8aab7371d5ba891168f73890806551322c5> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/c5efc1e519e710afdf3c5f40c0fcc300ad77149f> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/e4968fe268e5644ffd9bfa4ef6257d2796446009> (patch, web)
- <https://jira.xwiki.org/browse/XWIKI-21553> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37898> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2024-37898](https://www.cve.org/CVERecord?id=CVE-2024-37898), CVE Terms of Use, modified 2024-07-31
- GitHub Advisory Database: [GHSA-33gp-gmg3-hfpq](https://github.com/advisories/GHSA-33gp-gmg3-hfpq), CC-BY-4.0, modified 2024-07-31
- NVD: [CVE-2024-37898](https://nvd.nist.gov/vuln/detail/CVE-2024-37898), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37898 · Whole record: https://cve.day/CVE-2024-37898.json · Rebuilt by cve.day 2026-11-25T22:58:43.476Z
