# CVE-2024-21650: XWiki-Platform - RCE

> Live exploitation tracking for CVE-2024-21650 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2024-21650

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 10.0
- **Public exploit available:** Yes
- **Affected products:** XWiki-Platform
- **Weaknesses:** CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')); CWE-94 (Improper Control of Generation of Code ('Code Injection'))
- **Tags:** wiki

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

## CrowdSec analysis

[CVE-2024-21650](https://euvd.enisa.europa.eu/vulnerability/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.

## Timeline

- 2024-01-08: CVE Published. CVE-2024-21650 is published to NVD.
- 2025-09-24: Rule Released. CrowdSec releases a rule to detect CVE-2024-21650 exploitation attempts against the CrowdSec Network.
- 2025-09-25: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2024-21650 for the first time.

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

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2024-21650) follows observed exploitation activity for CVE-2024-21650. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
