XWiki CVE-2026-33137: unauthenticated XAR import via REST

CVE-2026-33137 let unauthenticated requests import XAR files through the REST API. Assess your exposure, upgrade to the fixed release on your branch, and block the endpoint at the proxy until you can.

On this page

Is your XWiki exposed to unauthenticated XAR import via REST?

Your XWiki may be exposed if its REST endpoint at /wikis/{wikiName} accepts POST requests from clients that never log in. CVE-2026-33137 let an unauthenticated attacker run a XAR import through that endpoint, creating or updating documents without any account. The fix is a patched release on your branch, and until you can apply it, an HTTP proxy rule that blocks POST requests to that path is the only workaround the advisory describes. Start by confirming which XWiki version you run and whether that path is reachable from networks you do not control.

A XAR file is XWiki's packaged export format, so importing one can write whole sets of pages at once. The vulnerable handler ran that import without authentication or authorization checks. Normal XWiki use relies on the user's rights to decide who can edit, but this request path skipped that decision entirely, so an anonymous caller only needed to reach the server over HTTP. Any wiki reachable from the internet, a partner network or a broadly routed internal segment should be treated as in scope until the path is shown to be unreachable.

Confirm three things before you change anything. First, compare your running version with the patched releases listed in the advisory: 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1, each for its own branch. Second, check your reverse proxy, load balancer and web application firewall logs for POST requests to /wikis/ from unauthenticated sources, and review recent page history for changes you cannot attribute. Third, decide who owns the proxy rule and how quickly it can be deployed, so the block is in place while the upgrade is scheduled. The advisory is the authoritative source for the affected range, so read it directly at GitHub security advisory GHSA-qrvh-r3f2-9h4r.

Which XWiki releases are fixed and which branch you run

CVE-2026-33137 is patched on five release lines, and the fix is tied to the branch you already run. Each card below covers one step in finding your version, matching it to a fixed release and deciding how to move. The advisory GHSA-qrvh-r3f2-9h4r is the authoritative list, so check it before you plan any change.

Fixed releases by branch

The advisory lists patched releases for five lines: 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1. Each fixed release belongs to one branch, so a fix on one line does not cover another. Confirm the list against the advisory before you schedule work, since patch releases can be added to the advisory after publication.

Patched release lines
5
Read the advisory

Reading your running version

Check the exact XWiki version in the administration interface or the running container image tag, not the name of the branch you intend to run. A deployment built from a Docker image tag, a WAR file or a distribution package can differ from what your change records say. Record the full version string, including any release candidate suffix, before you compare it with the advisory.

Mapping your version to a fix

Find the line that matches your major and minor version, such as 17.10.x or 18.0.x, then compare your patch number with the fixed release for that line. Any version on that line below the fixed release is affected. If your version is on a line the advisory does not list, do not assume it is safe, and confirm its status with the advisory and the XWiki project before you decide.

Upgrading within your branch

If you run an unpatched release on a listed branch, move to the fixed release on that same branch, for example from an earlier 17.10.x build to 17.10.3. Do not jump to a different branch to get the fix, because schema changes, Java requirements and extension compatibility differ between lines. Plan the upgrade on the same line first, then plan any move to a newer line separately.

Check fixed versions

Unpatched branches and stopgaps

If your branch is not patched or you cannot upgrade yet, the advisory's only workaround is an HTTP proxy rule that blocks POST requests to the /wikis/{wikiName} endpoint. Confirm that the rule works in your proxy and that no internal process depends on that endpoint. Treat the rule as a temporary control, and schedule the upgrade to a fixed release on your branch as soon as your change process allows.

Advisory workaround
1

How to check whether this instance is exposed

This sequence tells you whether a specific XWiki instance can be reached by the unauthenticated XAR import endpoint and whether anyone has already used it. Each step produces a result you can record before deciding on the proxy rule or the upgrade.

  1. Confirm the running XWiki version

    Log in as a wiki administrator and open the administration page, or read the version shown on the footer or in the administration application. If you deploy from containers, also check the image tag that is running, since the tag often reflects the release. Compare the result with the patched releases in the advisory: 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1. A version on a branch that is not in this list, or a version below the patched release on its own branch, means the instance is in the affected range and you should continue the check. A version at or above the patched release on its branch means the instance is not affected by this flaw, and you should still confirm the version against the advisory text yourself before closing the item.

  2. Test the endpoint from outside the trusted network

    From a host outside your internal network, send a POST request to the /wikis/{wikiName} path of your instance, using a wiki name that exists on your site, without credentials. Do this through every public route, including any reverse proxy, load balancer, CDN or web application firewall, because the proxy may forward a path that the application itself never sees. Record the HTTP status and whether the proxy blocks, rewrites or forwards the request. Do not send an import payload during this test. A response that the application processes, rather than a rejection by the proxy or an authentication error, means the endpoint is reachable without credentials from outside. Note any path that differs between the public and internal routes, since that tells you which layer needs the proxy rule.

  3. Review proxy and web server access logs

    Search the access logs of every layer that receives public traffic for POST requests to paths beginning with /wikis/ over the period since the advisory was published. Export the source address, timestamp, status code, request size and user agent for each match. Compare the source addresses with your known administrators, integration services and monitoring hosts. A POST from an unknown source that returned a success status, or any POST from a source you cannot account for, is a positive result and should be escalated to your incident response process. If no such requests appear, record that the logs were searched, the time range covered and which log sources were included, because gaps in retention or in log collection limit what the absence of evidence proves.

  4. Check logs inside the application for unexpected imports

    Review the XWiki logs for entries that mention XAR import, import operations or the wikis REST path during the same period, and note the time and any user or anonymous identity recorded. Cross-check these entries with the access log results from the previous step. Confirm whether application logging captured anonymous or guest activity at all, since a missing identity field is a gap to address, not evidence of safety. A log entry for an import that no administrator started is a positive result. Record which log files and levels you checked so the review can be repeated later.

  5. Review recent document changes for unexpected authors

    Using the recent changes view, a database query on the document history, or the notification feed, list documents created or modified since the earliest date in your access log search. Sort by author and by last modification time. Flag documents whose author is a guest, an account you do not recognize, or an account that did not perform the edits that day, and flag documents in spaces where changes are not expected. Open the flagged documents and check their content, attachments and any script or object values. A new document or edit made by an unknown or guest author is a positive result. If the review finds nothing, state the time range and the query or view used.

  6. Inspect imported content and recent XAR-derived changes

    Identify any XAR packages or import records that appeared on the instance during the exposure window, by checking the import history, the files in your backup or staging area, and any attachments that resemble packaged exports. Open the contents of each package and compare its documents, authors and any script content with what your team expected to import. Pay particular attention to documents that contain scripts, macros or object definitions that run on render, because those can change behavior after an import. A package or document that your team did not create and cannot explain is a positive result. Keep the affected files for investigation and do not delete them until your incident process approves it.

  7. Record the findings and decide the next action

    Write a short record for the instance that lists the version found, the endpoint test result for each public route, the log sources searched with their time ranges, the document and import findings, and who reviewed them. If any step produced a positive result, treat the instance as potentially compromised, preserve the logs and content, and involve your incident response and legal or privacy contacts before cleaning up. If every step is negative and the version is in the affected range, apply the proxy rule that blocks POST requests to /wikis/{wikiName} as an interim measure and schedule the upgrade to a patched release on your branch. Repeat the exposure check after the proxy rule and after the upgrade, and keep the record with your change tickets.

The POST to /wikis/{wikiName} reaches the XAR import before any check

The request starts at a client or attacker and reaches the reverse proxy first, which is the only control the advisory names. A proxy rule that blocks POST to the /wikis/{wikiName} endpoint stops the request there. If the request is forwarded, Tomcat hands it to XWiki, and in the unpatched code the REST handler runs the XAR import without authentication or authorization checks. Check which path your proxy actually takes for that endpoint.

Request path from the proxy rule to the unauthenticated XAR import in unpatched releases.

Patch now, block now, or both

Upgrading to the fixed release on your own branch is the preferred path because it removes the unauthenticated import behavior from the running code rather than hiding the endpoint at the edge. The fixed versions named in the advisory are 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1, so the target depends on which line your instance runs. Staying on the same major and minor line keeps the change smaller and makes rollback easier.

  • Match your branch: Find the fixed release for the line you run, not the newest release overall. A 17.x instance should move to 17.10.3 or 17.4.9 depending on its current minor.
  • Read the release notes: Check for database migrations, Java or Tomcat changes and extension compatibility before you schedule the change.
  • Test on a copy: Restore a recent backup into a non-production environment and run the upgrade there first.
  • Confirm the endpoint is gone: After upgrading, send a test request to the affected endpoint from an unauthenticated client and confirm it is refused.
  • Review what was imported: Look at recent document changes and XAR import activity for the period the endpoint was reachable.

Before scheduling, confirm the fixed release for your branch against the advisory and check your own change window and rollback plan.

Applying the proxy rule until the instance is patched

This sequence puts a edge rule in place that blocks POST requests to the vulnerable endpoint, confirms the rule works without breaking normal use, and keeps evidence that the instance was shielded until the fixed release is running.

  1. Confirm the exposed endpoint and its paths

    Start by identifying every route that reaches the XWiki REST endpoint for wikis, including any public hostname, internal alias, or path prefix that your proxy forwards to XWiki. The advisory describes the flaw as a POST request to /wikis/{wikiName}, so the rule must match that path pattern for each wiki name your instance serves. Ask the team that owns the reverse proxy or cloud load balancer to list each virtual host and location block that forwards to the XWiki application. The step is done when the owner has a written list of hostnames and path patterns, and you have checked that no route bypasses the proxy and reaches Tomcat directly.

  2. Write the deny rule for POST requests

    Express the rule conceptually: deny any request using the POST method whose path matches /wikis/ followed by a wiki name, and return a clear error code rather than forwarding the request. Do not copy configuration from a forum or blog into production. Confirm the exact directives, matching syntax and response behavior for your proxy (for example Nginx, Apache HTTP Server or your cloud load balancer) against that product's own documentation and in a non-production copy of your configuration. Record the change in version control so it can be reviewed and reverted. The step is done when the rule has passed peer review and is staged, not yet applied to live traffic.

  3. Test with a request that should be blocked

    Send a POST request to a wiki endpoint path from a host outside your internal network, using a test account or a request with no credentials, and confirm the proxy returns the denied response and the request never reaches XWiki. Use a test environment that mirrors production first. Make sure the request is one you control and that it does not create or modify any document. The step is done when the denied response is returned consistently and the XWiki application log shows no corresponding import activity for that request.

  4. Test with requests that should pass

    Confirm that normal read traffic still works by sending GET requests to the same wiki paths and loading a few ordinary pages through the browser, as an authenticated user with the expected rights. Check that the rule does not block the standard page views, login flow and any integrations your organization depends on. If a legitimate client sends POST requests to this path, identify it now and decide with its owner whether it can wait for the patch. The step is done when your sample of normal requests returns the expected responses and every affected integration owner has confirmed the outcome.

  5. Apply the rule to production

    Deploy the tested configuration to production during a change window agreed with the business owners, using your standard change process and a rollback plan that restores the previous proxy configuration. Reload or redeploy the proxy in the same way you would for any routing change, and keep the blocked-request test from the earlier step ready to repeat. The step is done when the production proxy is serving the new configuration, the blocked-request test passes again against the live hostname, and the change record names who approved it and when it took effect.

  6. Check logs for attempts before and after

    Review proxy access logs and XWiki application logs for POST requests to the wiki endpoint pattern, both for the period before the rule was applied and for the time since. Look for unexpected source addresses, unknown wiki names, and any successful responses to those requests in the earlier window, which would suggest exploitation. Forward the findings to your security team so that any document created or changed through the endpoint can be reviewed. The step is done when the log review is written up with a clear statement of what was found, or that no matching requests were observed.

  7. Keep the rule until the fixed release runs

    Leave the proxy rule in place as a temporary control and schedule the upgrade to a fixed release for your branch, as listed in the advisory: 16.10.17, 17.4.9, 17.10.3, 18.0.1 or 18.1.0-rc-1. Do not remove the rule until the upgraded instance has been tested and is in production, then retest the blocked-request check once more to confirm the rule is still needed or can be retired deliberately. Record the removal in the change log. The step is done when the fixed version is confirmed running, the decision to keep or remove the rule is documented, and the security team has signed off.

Upgrading to the fixed release without losing the wiki

The upgrade is the real fix, and the sequence matters more than speed. Start with a full backup of the database and the XWiki data directory, taken together so that the database references and attachment storage still match after a restore. Confirm that the backup restores on a separate host before you touch production. Keep the proxy rule in place until the upgrade is verified, and record the currently running version so you have a known state to return to.

Next, deploy the target fixed release to a staging copy built from the production backup. The advisory names fixed releases on several branches: 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1. Choose the one on the branch you already run rather than jumping between branches, because moving across lines is a larger change with its own migration steps. Check every installed extension against the target version, since extensions built for an older release can fail or behave differently after the upgrade. Confirm the Java and Tomcat requirements for your target line before you rebuild the container image.

Confirm the image tag and branch against the official XWiki Docker images for the line you run, using the Docker official image documentation for XWiki and the library file, rather than trusting a tag copied from an older runbook. Then roll forward on production during a planned window and run smoke tests on login, page edits and attachments. The proxy block is a stopgap only: it does not patch the flaw for internal callers, scripts or paths that the rule does not cover, so treat it as a holding measure until the fixed release is live and verified.

What to check after an exposure window

The endpoint could accept XAR imports from anyone who could reach it until the instance was patched or the proxy rule was in place. These checks look for changes the import could have made, and for secrets the wiki could have exposed, so the review covers both the content and the trust boundary.

Review documents created or changed

Start with the document history across every wiki on the instance. Filter for edits by accounts you do not recognize, by guest activity, and by changes with no matching ticket or author. Compare the time window against your access logs for POST requests to /wikis/{wikiName}, since the import path is the one this flaw opened. Note that an import can create new pages as well as overwrite existing ones, so check for pages that look legitimate but have no owner or a recent creation date.

Read the advisory

Inspect imported script and macros

Review any XAR content that arrived during the window for scripts, macros and velocity or groovy code that would run with elevated rights when a page renders. Pay attention to pages edited with script rights, to object properties that hold code, and to pages set to run as a privileged user. Treat any content you cannot explain as suspect until its source and author are confirmed, and keep a copy before you delete anything so the investigation can be repeated.

Rotate credentials reachable from the wiki

List every secret the wiki could have read or displayed: database passwords in configuration, API tokens stored in pages or objects, connector credentials for SSO or office integrations, and service accounts used by scheduled jobs. Rotate those that were reachable during the window, prioritizing any credential that lets the wiki reach other systems. Confirm the rotation with the owning team and record which secrets were rotated and when, because the review is only useful if the list is complete.

Check jobs and extensions for changes

Compare the installed extensions, their versions and the scheduled jobs against your last known good inventory. Look for new extensions, changed job definitions, altered job schedules and modified configuration in xwiki.cfg or the extension store. Check the Tomcat or container image digest against the one you deployed, since a changed container is a stronger signal than a changed page. Where you lack a baseline, record the current state now so future reviews have one.

Confirm the fixed release is running

Verify the running version against the fixed releases for each branch: 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1. Check the version on the running instance, not only the image tag you intended to deploy, because a rollback or a mismatched sidecar can leave an old build serving traffic. Keep the proxy rule in place until the fixed version is confirmed and the review is complete.

Questions teams ask about CVE-2026-33137

Is the proxy rule alone enough to protect XWiki from CVE-2026-33137?

No. The advisory's only listed workaround is an HTTP proxy rule that blocks POST requests to the /wikis/{wikiName} endpoint, and it is a stopgap until the instance runs a fixed release. The rule only covers traffic that passes through your proxy, so any path that reaches Tomcat directly, from another internal host or a misconfigured route, stays exposed. Confirm that the rule matches every wiki name and every route to the application, test it with a request from outside the proxy, and plan the upgrade as the real fix. Read the GitHub security advisory before you write the rule.

Which XWiki versions fix CVE-2026-33137?

The advisory lists fixes in XWiki 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1. Choose the fixed release on the branch you already run, so that you stay on a line that still receives fixes. If you run an older release that has no listed fix, do not assume it is safe: move to a patched release on a supported branch, then apply the proxy rule in the meantime. Check the advisory for the current list before you schedule the change.

How long does an XWiki upgrade take, and what drives the time?

The duration depends on the size of your instance, the number of extensions, the database engine, and how far you are moving from your current version. A small instance with few extensions and a clean test run is quick to patch, while a large instance with custom XAR content, many extensions and a major version jump needs more testing and a longer change window. Ask for a timeline based on your own inventory of extensions, a staging copy of your database and wiki content, and a rollback plan. No standard duration applies across all deployments.

Is an internal wiki at risk from this flaw?

An internal wiki can still be exposed. The flaw is reached through the REST endpoint, so the risk depends on whether that endpoint is reachable by any party who should not be able to create or change documents, including staff on a flat network, contractors on VPN, or a reverse proxy that forwards the path. Check which hosts can reach the endpoint, review your access logs for POST requests to /wikis/{wikiName} from unexpected sources, and review documents for changes you did not make. Treat an internal deployment as a deployment that needs the same patch timing as an internet-facing one until you have confirmed the network path.

What work does our team need to provide for a patch or partner engagement?

Your team provides access, information and decisions. In practice that means named contacts for the platform, database and network, a staging environment that matches production, a current inventory of extensions and customizations, backup access, change windows, and approval for the proxy rule and the target release. You also need logs for the endpoint so the assessment can check whether the path was used. Agree these items in the written scope so that delays on your side are visible in the timeline.

Can our team assess and patch this ourselves?

Yes, if you have people who can operate XWiki, its database and its Tomcat container, and who can test changes in staging. The advisory gives the affected endpoint, the fixed versions and the proxy rule, which is enough to start the work. What in-house teams often lack is time to check logs for past exploitation, confirm the proxy path, and run a regression test on custom content. Decide which of those tasks you will keep and which you will hand to a specialist, and write that split down before the change starts.

What does a partner's cost depend on for this work?

A fixed-scope quote follows from a written scope, and DeployOpen does not publish a price list. The main drivers are the number of instances, the extensions and customizations to test, the amount of log review, whether a staging copy must be built, and how many retests are needed. For reference, XWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan, according to its pricing page. Ask any provider for a written scope, named deliverables, and a clear split between one-time work and any recurring support or retainer.

How DeployOpen works on this

DeployOpen approaches CVE-2026-33137 as a scoped exposure review followed by a patch and verification job on your own XWiki instance. We confirm which branch you run, move you to a fixed release or apply the advisory's proxy rule, and document the result for your security team.

How we scope

  • Confirm which XWiki branch and version each instance runs, against the fixed releases 16.10.17, 17.4.9, 17.10.3, 18.0.1 and 18.1.0-rc-1.
  • Check whether POST requests to the /wikis/{wikiName} endpoint are reachable from untrusted networks through your proxies and load balancers.
  • Agree the written scope in advance, covering instances, environments, upgrade target and whether the proxy rule is a stopgap or permanent control.

How we build

  • Apply the proxy rule blocking POST to /wikis/{wikiName} first when an immediate upgrade is not possible, and test that legitimate editing still works.
  • Plan the upgrade to the fixed release on your branch, including database, Tomcat and extension compatibility checks in a staging copy.
  • Review web server and proxy logs for unexpected XAR import requests and unexplained document creation or changes before and after the fix.

How we hand over

  • Deliver a written record of the versions found, the fixes applied, the proxy rule configuration and the verification results.
  • Document the retest steps so your team can repeat the check after each future XWiki release or proxy change.
  • Hand over the rollback plan, the list of changed configuration files and the owner for each remaining follow-up action.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer for XWiki instances that need regular patch cycles.
  • Ask for the written scope, deliverables and timeline before work starts, since engagements are fixed-scope by default.
  • Confirm with your team which parts of the assessment you need to keep in-house and which you want DeployOpen to carry out.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.