Xwiki xwiki-platform
Remote code execution as guest via SolrSearchMacros request in xwiki
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any guest can perform arbitrary remote code execution through a request to `SolrSearch`. This impacts the confidentiality, integrity and availability of the whole XWiki installation. To reproduce on an instance, without being logged in, go to `<host>/xwiki/bin/get/Main/SolrSearch?media=rss&text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28"Hello%20from"%20%2B%20"%20search%20text%3A"%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20`. If there is an output, and the title of the RSS feed contains `Hello from search text:42`, then the instance is vulnerable. This vulnerability has been patched in XWiki 15.10.11, 16.4.1 and 16.5.0RC1. Users are advised to upgrade. Users unable to upgrade may edit `Main.SolrSearchMacros` in `SolrSearchMacros.xml` on line 955 to match the `rawResponse` macro in `macros.vm#L2824` with a content type of `application/xml`, instead of simply outputting the content of the feed.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.3-milestone-2, < 15.10.11
- >= 16.0.0-rc-1, < 16.4.1
Fixed in 15.10.11, 16.4.1
Mitigation
Upgrade xwiki-platform to 15.10.11 or 16.4.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 4.5 days after publication; added to CISA KEV 252 days after publication. First PoC: iSee857/CVE-2025-24893-PoC (created 25 Feb 2025, found by us: backfilled).
PoC repositories
Found on GitHub.41 PoCs · 4 pending · 3 informational · 1 not a PoC · 3 suspicious or fake
PoCs 41
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| iSee857/CVE-2025-24893-PoC | 25 Feb 2025 +4.5 d | 10 | PoC |
| Artemir7/CVE-2025-24893-EXP | 5 May 2025 +73 d | 2 | PoC |
| saad0x1/Exploits | 12 May 2025 +81 d | 1 | PoC via PoC Index |
| dhiaZnaidi/CVE-2025-24893-PoC | 3 Aug 2025 +164 d | 0 | PoC |
| hackersonsteroids/cve-2025-24893 | 3 Aug 2025 +164 d | 5 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| Infinit3i/CVE-2025-24893 | 3 Aug 2025 +164 d | 6 | PoC |
| AzureADTrent/CVE-2025-24893-Reverse-Shell | 3 Aug 2025 +164 d | 0 | PoC |
| gmh5225/CVE-2025-24893-RCE-PoC | 3 Aug 2025 +164 d | 0 | PoC |
| gunzf0x/CVE-2025-24893 | 4 Aug 2025 +164 d | 23 | PoC |
| dollarboysushil/CVE-2025-24893-XWiki-Unauthenticated-RCE-Exploit-POC | 4 Aug 2025 +165 d | 17 | PoC |
| zs1n/CVE-2025-24893 | 5 Aug 2025 +165 d | 0 | PoC |
| investigato/cve-2025-24893-poc | 5 Aug 2025 +166 d | 0 | PoC |
| IIIeJlyXaKapToIIIKu/CVE-2025-24893-XWiki-unauthenticated-RCE-via-SolrSearch | 7 Aug 2025 +168 d | 1 | PoC |
| mah4nzfr/CVE-2025-24893 | 7 Aug 2025 +168 d | 0 | PoC |
| Hex00-0x4/CVE-2025-24893-XWiki-RCE | 8 Aug 2025 +168 d | 6 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| The-Red-Serpent/CVE-2025-24893 | 8 Aug 2025 +169 d | 0 | PoC |
| alaxar/CVE-2025-24893 | 8 Aug 2025 +169 d | 0 | PoC |
| D3Ext/CVE-2025-24893 | 9 Aug 2025 +170 d | 4 | PoC |
| Retro023/CVE-2025-24893-POC | 9 Aug 2025 +170 d | 0 | PoC |
| CMassa/CVE-2025-24893 | 13 Aug 2025 +174 d | 0 | PoC |
| x0da6h/POC-for-CVE-2025-24893 | 22 Aug 2025 +182 d | 1 | PoC |
| ibadovulfat/CVE-2025-24893 | 26 Aug 2025 +187 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| torjan0/xwiki_solrsearch-rce-exploit | 26 Aug 2025 +187 d | 2 | PoC |
| b0ySie7e/CVE-2025-24893 | 3 Sep 2025 +195 d | 11 | PoC |
| andwati/CVE-2025-24893 | 5 Sep 2025 +197 d | 0 | PoC |
| JacintaSyilloam/exploit-scripts | 6 Sep 2025 +197 d | 0 | PoC |
| Bishben/xwiki-15.10.8-reverse-shell-cve-2025-24893 | 10 Sep 2025 +202 d | 0 | PoC |
| gotr00t0day/CVE-2025-24893 | 2 Oct 2025 +224 d | 5 | PoC |
| kimtangker/CVE-2025-24893 | 14 Oct 2025 +236 d | 0 | PoC |
| Yukik4z3/CVE-2025-24893 | 17 Oct 2025 +238 d | 1 | PoC |
| Y2F05p2w/CVE-2025-24893 | 31 Oct 2025 +253 d | 0 | PoC |
| 80Ottanta80/CVE-2025-24893-PoC | 3 Nov 2025 +256 d | 1 | PoC |
| o0wo0o/CVE-2025-24893_Shell | 15 Dec 2025 +298 d | 0 | PoC |
| BreakingRohit/CVE-2025-24893-PoC | 28 Dec 2025 +311 d | 2 | PoC |
| TomKingori/xwiki-cve-2025-24893-exploit | 9 Jan 2026 +323 d | 0 | PoC |
| nohack1212/CVE-2025-24893- | 26 Jan 2026 +340 d | 1 | PoC |
| rippsec/CVE-2025-24893-XWiki-SSTI-RCE | 16 Apr 2026 +1.1 y | 0 | PoC |
| hasecto/CVE-2025-24893 | 29 May 2026 +1.3 y | 0 | PoC |
| vasilysaint/CVE-2025-24893 | 10 Jun 2026 +1.3 y | 1 | PoC |
| Fomovet/cve-2025-24893 | 21 Jun 2026 +1.3 y | 0 | PoC |
| endusdksla/xwiki-cve-2025-24893 | 9 Jul 2026 +1.4 y | 0 | PoC |
Pending 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AliAmouz/CVE2025-24893 | 24 Sep 2025 +216 d | 0 | Pending |
| Kai7788/CVE-2025-24893-RCE-PoC | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| ibrahmsql/CVE-2025-24893 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| nopgadget/CVE-2025-24893 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xVoodoo/PoCs | 31 Jul 2025 +160 d | 0 | Informational · list |
| rvzsec/CVE-2025-24893 | 25 Oct 2025 +247 d | 0 | Informational · write-up |
| 0xDTC/XWiki-Platform-RCE-CVE-2025-24893 | 3 Dec 2025 +286 d | 0 | Informational · write-up |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AliElKhatteb/CVE-2024-32019-POC | 3 Aug 2025 +164 d | 5 | Not a PoC · unrelated |
Suspicious or fake 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 570RMBR3AK3R/xwiki-cve-2025-24893-poc | 6 Aug 2025 +167 d | 3 | Fake |
| Th3Gl0w/CVE-2025-24893-POC | 7 Aug 2025 +168 d | 1 | Fake |
| MattiaCervelli/CVE-2025-24893_Analysis | 19 Aug 2026 +1.5 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | XWiki Platform 15.10.10 - Remote Code Execution | 7 Apr 2025 | 14 Nov 2026 |
| Exploit-DB | XWiki Platform 15.10.10 - Metasploit Module for Remote Code Execution (RCE) | 16 Sep 2025 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Remote Code Execution Vulnerability in XWiki Platform (CVE-2025-24893) (exploit/multi/http/xwiki_unauth_rce_cve_2025_24893) | 23 Aug 2025 | 14 Nov 2026 |
| nuclei template | nuclei template: XWiki Platform - Remote Code Execution | 25 Feb 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 41 PoC reposGET /xwiki/bin/get/Main/SolrSearch
- Query
media=rsstext=media=rss\text=<<text=}}}text=/xwiki/bin/get/Main/SolrSearch?media=rss- Content-Type
application/x-www-form-urlencoded- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36- Seen in
- 14 repos: 80Ottanta80/CVE-2025-24893-PoC, BreakingRohit/CVE-2025-24893-PoC, CMassa/CVE-2025-24893, IIIeJlyXaKapToIIIKu/CVE-2025-24893-XWiki-unauthenticated-RCE-via-SolrSearch, Infinit3i/CVE-2025-24893, JacintaSyilloam/exploit-scripts, Retro023/CVE-2025-24893-POC, TomKingori/xwiki-cve-2025-24893-exploit, alaxar/CVE-2025-24893, andwati/CVE-2025-24893, b0ySie7e/CVE-2025-24893, hackersonsteroids/cve-2025-24893, o0wo0o/CVE-2025-24893_Shell, rippsec/CVE-2025-24893-XWiki-SSTI-RCE
- Evidence
- 80Ottanta80/CVE-2025-24893-PoC/xwiki_groovy_rce.py:65 BreakingRohit/CVE-2025-24893-PoC/xwiki_cve_2025_24893.py:51 CMassa/CVE-2025-24893/CVE-2025-24893.py:67 IIIeJlyXaKapToIIIKu/CVE-2025-24893-XWiki-unauthenticated-RCE-via-SolrSearch/CVE-2025-24893.py:32 IIIeJlyXaKapToIIIKu/CVE-2025-24893-XWiki-unauthenticated-RCE-via-SolrSearch/README.md:108 IIIeJlyXaKapToIIIKu/CVE-2025-24893-XWiki-unauthenticated-RCE-via-SolrSearch/README.md:34
GET /bin/get/Main/SolrSearch
- Query
media=rsstext=}}}text=- Ports
- 8080
- PoC User-Agent
Mozilla/5.0Mozilla/5.0 (Windows NT 10.0; Win64; x64) HTB-Exploit/1.0- Seen in
- 6 repos: D3Ext/CVE-2025-24893, The-Red-Serpent/CVE-2025-24893, Yukik4z3/CVE-2025-24893, dhiaZnaidi/CVE-2025-24893-PoC, hasecto/CVE-2025-24893, kimtangker/CVE-2025-24893
- Evidence
- D3Ext/CVE-2025-24893/CVE-2025-24893.py:14 The-Red-Serpent/CVE-2025-24893/exploit.py:83 Yukik4z3/CVE-2025-24893/CVE-2025-24893.py:24 dhiaZnaidi/CVE-2025-24893-PoC/CVE-2025-24893-PoC.py:42 hasecto/CVE-2025-24893/CVE-2025-24-893.py:46 kimtangker/CVE-2025-24893/xwiki_exploit_module.py:224
GET /xwiki/bin/view/Main/SolrSearch
- Query
media=rsstext=}}}text=- Ports
- 8080
- Seen in
- 3 repos: Bishben/xwiki-15.10.8-reverse-shell-cve-2025-24893, BreakingRohit/CVE-2025-24893-PoC, gmh5225/CVE-2025-24893-RCE-PoC
- Evidence
- Bishben/xwiki-15.10.8-reverse-shell-cve-2025-24893/xwiki_exploit.py:57 BreakingRohit/CVE-2025-24893-PoC/xwiki_cve_2025_24893.py:75 BreakingRohit/CVE-2025-24893-PoC/xwiki_cve_2025_24893.py:102 BreakingRohit/CVE-2025-24893-PoC/xwiki_cve_2025_24893.py:116 gmh5225/CVE-2025-24893-RCE-PoC/poc.py:39
GET /index.php/admin/authentication/sa/login
- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/exploit.py:22
GET /index.php/admin/pluginmanager
- Query
sa=uploadConfirmsa=installUploadedPluginsa=activate- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/exploit.py:62 saad0x1/Exploits/Limesurvey-RCE/exploit.py:68 saad0x1/Exploits/Limesurvey-RCE/exploit.py:83
GET /index.php/admin/pluginmanager/sa/index
- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/exploit.py:46
GET /limesurvey/upload/plugins/actuaL/skid.php
- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/README.md:71
GET /upload/plugins/RCE-Yoink/rev.php
- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/exploit.py:97
GET /xwiki/bin/view/Main/
- Seen in
- 1 repo: CMassa/CVE-2025-24893
- Evidence
- CMassa/CVE-2025-24893/CVE-2025-24893.py:41
POST /index.php/admin/authentication/sa/login
- Body markers
user=password=authMethod=Authdbloginlang=defaultaction=loginwidth=1581login_submit=loginYII_CSRF_TOKEN=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/exploit.py:39
POST /index.php/admin/pluginmanager
- Query
sa=uploadsa=installUploadedPluginsa=activate- Body markers
YII_CSRF_TOKEN=lid=$lidaction=templateuploadisUpdate=falsepluginId=1inapplication/x-www-form-urlencoded- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/Limesurvey-RCE/exploit.py:56 saad0x1/Exploits/Limesurvey-RCE/exploit.py:77 saad0x1/Exploits/Limesurvey-RCE/exploit.py:92
POST /zabbix/api_jsonrpc.php
- Key headers
Authorization: Bearer $user_sessionAuthorization: Bearer $admin_session- Body markers
"jsonrpc":"2.0""method":"user.login""params""username":"$username""password":"$password""id""method":"user.get""output""selectRole""editable""method":"item.create""hostid":"10084""name":"rce boi""key_""type""value_type""interfaceid""delay"inapplication/json-rpc- Seen in
- 1 repo: saad0x1/Exploits
- Evidence
- saad0x1/Exploits/CVE-2024-36467+CVE-2024-42327.sh:46 saad0x1/Exploits/CVE-2024-36467+CVE-2024-42327.sh:50 saad0x1/Exploits/CVE-2024-36467+CVE-2024-42327.sh:54
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/xwiki/bin/get/Main/SolrSearch\?(?:.*&)?media=rss.*text=.*media=rss\\.*text=<<.*text=\}\}\}.*text=/xwiki/bin/get/Main/SolrSearch\?media=rss
(?i)^/bin/get/Main/SolrSearch\?(?:.*&)?media=rss.*text=\}\}\}.*text=
(?i)^/xwiki/bin/view/Main/SolrSearch\?(?:.*&)?media=rss.*text=\}\}\}.*text=
(?i)^/index\.php/admin/authentication/sa/login(?:[?#].*)?$
(?i)^/index\.php/admin/pluginmanager\?(?:.*&)?sa=uploadConfirm.*sa=installUploadedPlugin.*sa=activate
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-24893 xwiki xwiki-platform exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/xwiki/bin/get/Main/SolrSearch"; http.uri; content:"media=rss"; http.uri; content:"text="; http.uri; content:"media=rss|5c|"; http.uri; content:"text=<<"; http.uri; content:"text=}}}"; http.uri; content:"text=/xwiki/bin/get/Main/SolrSearch?media=rss"; reference:url,poc.griffinguard.io/cve/CVE-2025-24893; classtype:web-application-attack; sid:9754341; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-24893 xwiki xwiki-platform exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/bin/get/Main/SolrSearch"; http.uri; content:"media=rss"; http.uri; content:"text=}}}"; http.uri; content:"text="; reference:url,poc.griffinguard.io/cve/CVE-2025-24893; classtype:web-application-attack; sid:9751642; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-24893 xwiki xwiki-platform exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/xwiki/bin/view/Main/SolrSearch"; http.uri; content:"media=rss"; http.uri; content:"text=}}}"; http.uri; content:"text="; reference:url,poc.griffinguard.io/cve/CVE-2025-24893; classtype:web-application-attack; sid:9319596; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-24893 xwiki xwiki-platform exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php/admin/authentication/sa/login"; reference:url,poc.griffinguard.io/cve/CVE-2025-24893; classtype:web-application-attack; sid:9151347; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-24893 xwiki xwiki-platform exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php/admin/pluginmanager"; http.uri; content:"sa=uploadConfirm"; http.uri; content:"sa=installUploadedPlugin"; http.uri; content:"sa=activate"; reference:url,poc.griffinguard.io/cve/CVE-2025-24893; classtype:web-application-attack; sid:9730762; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: xwiki xwiki-platform exploit attempt (CVE-2025-24893)
id: gg-pocmon-cve-2025-24893-9754341
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24893. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24893
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/xwiki/bin/get/Main/SolrSearch'
cs-uri-query|contains|all:
- 'media=rss'
- 'text='
- 'media=rss\'
- 'text=<<'
- 'text=}}}'
- 'text=/xwiki/bin/get/Main/SolrSearch?media=rss'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24893
title: xwiki xwiki-platform exploit attempt (CVE-2025-24893)
id: gg-pocmon-cve-2025-24893-9751642
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24893. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24893
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/bin/get/Main/SolrSearch'
cs-uri-query|contains|all:
- 'media=rss'
- 'text=}}}'
- 'text='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24893
title: xwiki xwiki-platform exploit attempt (CVE-2025-24893)
id: gg-pocmon-cve-2025-24893-9319596
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24893. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24893
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/xwiki/bin/view/Main/SolrSearch'
cs-uri-query|contains|all:
- 'media=rss'
- 'text=}}}'
- 'text='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24893
title: xwiki xwiki-platform exploit attempt (CVE-2025-24893)
id: gg-pocmon-cve-2025-24893-9151347
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24893. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24893
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php/admin/authentication/sa/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24893
title: xwiki xwiki-platform exploit attempt (CVE-2025-24893)
id: gg-pocmon-cve-2025-24893-9730762
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24893. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24893
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php/admin/pluginmanager'
cs-uri-query|contains|all:
- 'sa=uploadConfirm'
- 'sa=installUploadedPlugin'
- 'sa=activate'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24893