XWiki-Platform - RCE (CVE-2024-21650)
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.
psychologyCrowdSec Analysis
CVE-2024-21650 is a critical remote code execution vulnerability in the XWiki Platform that allows unauthenticated attackers to execute arbitrary code by injecting malicious payloads into the "first name" or "last name" fields during user registration. This flaw affects all XWiki installations with guest registration enabled, potentially enabling full system compromise. Attackers could exploit this vulnerability to gain unauthorized access, manipulate data, or disrupt wiki operations.
CrowdSec has been tracking this vulnerability and its exploits since 24th of September 2025.
Insights from the CrowdSec network reveal that the attackers trying to exploit CVE-2024-21650 are composed of a fairly even mix of opportunistic and targeted actors. Some attackers employ preliminary reconnaissance, while others use indiscriminate scanning. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2024-21650. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.
Attackers exploit the user registration endpoint /bin/register/XWiki/XWikiRegister by injecting malicious payloads into the register_first_name or register_last_name fields, leading to remote code execution on vulnerable XWiki installations.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2024-01-08 |
| Rule Released | 2025-09-24 |
| CrowdSec First Seen | 2025-09-25 |
Related Weaknesses
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Remediation & Protection
External References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rj7p-xjv7-7229
- https://jira.xwiki.org/browse/XWIKI-21173
- https://github.com/xwiki/xwiki-platform/commit/b290bfd573c6f7db6cc15a88dd4111d9fcad0d31
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-21650.yaml