CVE-2024-37899
published critical CVSS 3.1 · 9.1Disabling a user account changes its author, allowing RCE from user account in XWiki
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Affected | Not stated | GitHub_M |
| xwiki | — | xwiki13.4.7 through 13.5 · 13.10.3 through 14.10.21 · 15.0-rc-1 to < 15.5.5 · 15.6-rc-1, to < 15.10.6 · 16.0.0-rc-1, to < 16.0.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | >= 13.4.7, <= 13.5 (affected)>= 13.10.3, < 14.10.21 (affected)>= 15.0-rc-1, < 15.5.5 (affected)>= 15.6-rc-1, < 15.10.6 (affected)>= 16.0.0-rc-1, < 16.0.0 (affected) | GitHub_M · cna |
| xwiki | xwiki | 13.4.7 through 13.5 (affected · custom)13.10.3 through 14.10.21 (affected · custom)15.0-rc-1 to < 15.5.5 (affected · custom)15.6-rc-1, to < 15.10.6 (affected · custom)16.0.0-rc-1, to < 16.0.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
3Provider assertions
3GitHub_M · cna
Disabling a user account changes its author, allowing RCE from user account in XWiki
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 67c571baea6e740c0fc9af55a3e82228cb2039ada9bf75520ee68ebd56275d56
- Ingested
- 23 Sep 2026, 08:24:34 UTC
- Source record
- Official CVE record