Unauthenticated code execution via unescaped registration names
Published Jan 8, 2024 · Updated Jun 17, 2025
Eval injection in XWiki Platform allows remote attackers to execute arbitrary code through the guest user registration flow. The registration success message inserts first-name and last-name request values into XWiki syntax, allowing crafted closing tags to introduce an asynchronous Groovy macro. Guest registration must be enabled, after which submitting the form executes the injected macro with server-side privileges.
Summary
What happened
Eval injection in XWiki Platform allows remote attackers to execute arbitrary code through the guest user registration flow. The registration success message inserts first-name and last-name request values into XWiki syntax, allowing crafted closing tags to introduce an asynchronous Groovy macro. Guest registration must be enabled, after which submitting the form executes the injected macro with server-side privileges.
The record
- CVE
- CVE-2024-21650
- Published
- Jan 8, 2024
- Updated
- Jun 17, 2025
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-95, CWE-94, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 8, 2024CVE publishedPublication date reported by the CVE source.
- Jun 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 15.0-rc-1, < 15.5.3
- Affected versionversion=>= 15.6-rc-1, < 15.8-rc-1
- Affected versionversion=>= 2.2, < 14.10.17
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream guest-registration RCE reproduction payloadproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo