CVE-2024-21650 XWiki Remote Code Execution vulnerability via user registration
Attackers can execute arbitrary code via malicious payloads in user registration fields if guest registration is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-21650?
CVE-2024-21650 is a critical code injection vulnerability in Xwiki Xwiki, published on 8 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to a remote code execution (RCE) attack through its user registration feature. This issue allows an attacker to execute arbitrary code by crafting malicious payloads in the "first name" or "last name" fields during user registration. This impacts all installations that have user registration enabled for guests. This vulnerability has been patched in XWiki 14.10.17, 15.5.3 and 15.8 RC1.
Which versions are affected by CVE-2024-21650?
6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-administration-ui. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 15.0-rc-1 | 15.5.3 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 15.0-rc-1 | 15.5.3 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 15.6-rc-1 | 15.8-rc-1 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 15.6-rc-1 | 15.8-rc-1 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 2.2 | 14.10.17 |
org.xwiki.platform:xwiki-platform-administration-ui Maven | From 2.2 | 14.10.17 |
Products include Xwiki Xwiki.
How do I fix CVE-2024-21650?
Upgrade org.xwiki.platform:xwiki-platform-administration-ui to a fixed version for your release line: 15.5.3, 15.8-rc-1 or 14.10.17.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-21650 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21650 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-rj7p-xjv7-7229.