XWiki Unauthenticated XAR Import via REST API
An unauthenticated attacker can create or update documents in the target XWiki instance by exploiting the XAR import functionality through the `/wikis/{wikiName}` REST endpoint due to missing authentication and authorization checks, as detailed in CVE-2026-33137.
CVE search metadata
CVE search record: CVE-2026-33137. EPSS: 0.59%. KEV: no. Product: xwiki-platform-rest-server. Brief: XWiki Unauthenticated XAR Import via REST API. Brief link: https://feed.craftedsignal.io/briefs/2026-05-xwiki-xar-import/
What's new
- 1. poc_available Aug 27, 00:35 via sploitus
XWiki is susceptible to an unauthenticated XAR import vulnerability, identified as CVE-2026-33137, affecting versions 15.10.6 before 16.10.17, 17.0.0-rc-1 before 17.4.9, 17.5.0 before 17.10.3, and 18.0.0-rc-1 before 18.1.0-rc-1. The vulnerability resides in the /wikis/{wikiName} REST endpoint, which allows for the execution of XAR imports without proper authentication or authorization checks. This flaw allows an attacker to create or modify documents within the target wiki instance, potentially leading to arbitrary code execution or data manipulation. Defenders should prioritize patching vulnerable XWiki installations or implementing HTTP proxy rules to mitigate this risk.
Attack Chain
- An attacker identifies a vulnerable XWiki instance with an exposed
/wikis/{wikiName}REST endpoint. - The attacker crafts a malicious XAR file containing payloads to create or modify documents.
- The attacker sends an HTTP POST request to the
/wikis/{wikiName}endpoint, including the malicious XAR file in the request body. - The XWiki instance processes the request without authentication or authorization.
- The XAR file is imported, leading to the creation or modification of documents within the specified wiki.
- The attacker gains unauthorized access to the modified documents.
- The attacker leverages the modified documents to execute arbitrary code or manipulate data within the XWiki instance.
Impact
Successful exploitation of CVE-2026-33137 allows unauthenticated attackers to create, modify, or delete content within the XWiki platform. This can lead to complete compromise of the XWiki instance, including unauthorized data access, data manipulation, and potentially arbitrary code execution on the server. The impact is significant, particularly for organizations relying on XWiki for critical knowledge management and collaboration.
Recommendation
- Upgrade XWiki installations to patched versions: 16.10.17, 17.4.9, 17.10.3, 18.0.1, or 18.1.0-rc-1 to address CVE-2026-33137.
- Implement an HTTP proxy rule to block POST requests to the
/wikis/{wikiName}endpoint as a temporary workaround. - Deploy the Sigma rule "Detect XWiki Unauthenticated XAR Import via REST API" to identify exploitation attempts in web server logs.
- Monitor web server logs for suspicious POST requests to the
/wikis/{wikiName}endpoint.
Detection coverage 2
Detect XWiki Unauthenticated XAR Import via REST API
criticalDetects CVE-2026-33137 exploitation — Unauthenticated XAR import via the /wikis/{wikiName} REST endpoint in XWiki.
Detect XWiki Unauthenticated XAR Import via REST API - Content Check
criticalDetects CVE-2026-33137 exploitation — Unauthenticated XAR import via the /wikis/{wikiName} REST endpoint in XWiki by checking content type
Detection queries are available on the platform. Get full rules →