XWiki Admin Tools Application CSRF with QueryOnXWiki allows arbitrary database queries
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
The XWiki Admin Tools Application provides tools to help the administration of XWiki. Prior to version 4.5.1, a cross-site request forgery vulnerability in the query on XWiki tool allows executing arbitrary database queries on the database of the XWiki installation. Among other things, this allows modifying and deleting all data of the wiki. This could be both used to damage the wiki and to create an account with elevated privileges for the attacker, thus impacting the confidentiality, integrity and availability of the whole XWiki instance. A possible attack vector are comments on the wiki, by embedding an image with wiki syntax like `[[image:path:/xwiki/bin/view/Admin/QueryOnXWiki?query=DELETE%20FROM%20xwikidoc]]`, all documents would be deleted from the database when an admin user views this comment. This has been patched in Admin Tools Application 4.5.1 by adding form token checks. Some workarounds are available. The patch can also be applied manually to the affected pages. Alternatively, if the query tool is not needed, by deleting the document `Admin.SQLToolsGroovy`, all database query tools can be deactivated.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | application-admintools | before 4.5.1 | 4.5.1 | Patch available | CNA |
| — | org.xwiki.contrib:xwiki-application-admintools (Maven) | before 4.5.1 | 4.5.1 | Patch available | GHSA-4f4c-rhjv-4wgv |
- application-admintools VendorXWiki Affected before 4.5.1 Fixed in 4.5.1 Patch available CNA
- org.xwiki.contrib:xwiki-application-admintools (Maven) Vendor— Affected before 4.5.1 Fixed in 4.5.1 Patch available GHSA-4f4c-rhjv-4wgv
Remediation
- Fix · CNA application-admintools (xwiki-contrib) Fixed in 4.5.1
- Fix · GHSA-4f4c-rhjv-4wgv org.xwiki.contrib:xwiki-application-admintools (Maven) Fixed in 4.5.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-48293
- 2026-10-03 Alias added: GHSA-4f4c-rhjv-4wgv
References
Patch 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-48293 · CVE Program
- CVE-2023-48293 · NVD
- FIRST EPSS
- GHSA-4f4c-rhjv-4wgv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences