# CVE-2024-37899: Disabling a user account changes its author, allowing RCE from user account in XWiki

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- 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): 2.05%, higher than 82% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-20T16:19:14.000Z
- Modified: 2026-09-10T03:50:15.642Z
- Also known as: GHSA-j584-j2vj-3f93
- Weaknesses: CWE-94, CWE-266
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When an admin disables a user account, the user's profile is executed with the admin's rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account. To reproduce, as a user without script nor programming rights, edit the about section of your user profile and add `{{groovy}}services.logging.getLogger("attacker").error("Hello from Groovy!"){{/groovy}}`.
As an admin, go to the user profile and click the "Disable this account" button. Then, reload the page. If the logs show `attacker - Hello from Groovy!` then the instance is vulnerable. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

### Workarounds
We're not aware of any workaround except upgrading.

### References
* https://jira.xwiki.org/browse/XWIKI-21611
* https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 13.4.7, <= 13.5; >= 13.10.3, < 14.10.21; >= 15.0-rc-1, < 15.5.5; >= 15.6-rc-1, < 15.10.6; >= 16.0.0-rc-1, < 16.0.0
- xwiki xwiki: from 13.4.7 up to 13.5; from 13.10.3 up to 14.10.21; from 15.0-rc-1 before 15.5.5; from 15.6-rc-1, before 15.10.6; from 16.0.0-rc-1, before 16.0.0; from 13.10.3 before 14.10.21; from 15.0 before 15.5.5; from 15.6 before 15.10.6; 13.4.7; 13.5; 16.0.0
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 13.4.7 before 14.10.21; from 13.10.3 before 14.10.21; from 15.0-rc-1 before 15.5.5; from 15.6-rc-1 before 15.10.6; from 16.0.0-rc-1 before 16.0.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://jira.xwiki.org/browse/XWIKI-21611> (exploit, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37899> (advisory)
- <https://github.com/xwiki/xwiki-platform/commit/046c36519a2df392c922c16d0d38472b98c414d0> (web)
- <https://github.com/xwiki/xwiki-platform/commit/233b08b26580df4b7a595882dac65ed4e4a2419c> (web)
- <https://github.com/xwiki/xwiki-platform/commit/2b55c29562ccd20f8f0f85075f0c95b4ee9cd9be> (web)
- <https://github.com/xwiki/xwiki-platform/commit/f8409419c5d0ddefe1bee55e73629a54275fa735> (web)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2024-37899](https://www.cve.org/CVERecord?id=CVE-2024-37899), CVE Terms of Use, modified 2024-08-13
- GitHub Advisory Database: [GHSA-j584-j2vj-3f93](https://github.com/advisories/GHSA-j584-j2vj-3f93), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-37899](https://nvd.nist.gov/vuln/detail/CVE-2024-37899), Public domain, modified 2026-06-17

---

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