CVE-2024-21650
Java vulnerability analysis and mitigation

Overview

XWiki Platform, a generic wiki platform offering runtime services for applications, was found to contain a critical remote code execution (RCE) vulnerability (CVE-2024-21650) in its user registration feature. The vulnerability was discovered in January 2024 and affects all installations with user registration enabled for guests. The vulnerability impacts versions prior to 14.10.17, 15.0-rc-1 through 15.5.3, and 15.6-rc-1 through 15.8-rc-1 (GitHub Advisory).

Technical details

The vulnerability allows attackers to execute arbitrary code by crafting malicious payloads in the 'first name' or 'last name' fields during user registration. The issue stems from improper handling of user input in the RegistrationConfig.xml file, where user inputs were directly embedded into the registration success message without appropriate sanitization. The vulnerability has received a CVSS v3.1 base score of 9.8 CRITICAL (NIST) and 10.0 CRITICAL (GitHub) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (NVD, GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary code on affected systems through the user registration process. This could potentially lead to complete system compromise, unauthorized data access, and system control. The attack requires no user interaction or special privileges, making it particularly dangerous for systems with guest registration enabled (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 14.10.17, 15.5.3, and 15.8 RC1. For users unable to update immediately, a workaround is available by modifying the 'Registration Successful Message' in the administration panel under 'Users & Rights' > 'Registration'. The workaround involves using $xwiki.getUserName for secure user link construction and proper message templating (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-15104MEDIUM6.9
  • JavaScriptJavaScript
  • vnu-jar
NoNoJan 16, 2026
CVE-2026-1002MEDIUM6.9
  • JavaJava
  • pki-resteasy-client
NoYesJan 15, 2026
CVE-2025-66169MEDIUM5.3
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2026-0858MEDIUM5.1
  • JavaJava
  • net.sourceforge.plantuml:plantuml
NoYesJan 16, 2026
CVE-2026-0976LOW3.7
  • JavaJava
  • keycloak
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management