XWiki configuration file exposure advisories

The 2025 XWiki flaws let unauthenticated requests read configuration files such as xwiki.cfg. This page shows how to check your exposure, which versions are fixed, and why the demo Jetty distribution should stay out of production.

On this page

Is your XWiki configuration file exposed through the 2025 advisories?

The flaws that matter here are CVE-2025-55748, which let readers fetch WEB-INF/xwiki.cfg through the jsx and sx endpoints, and the related issues CVE-2025-55747 (configuration files reachable through the webjars API) and CVE-2025-55749 (XJetty allowing access to any application file through a URL). Check exposure first because xwiki.cfg commonly holds database credentials and other secrets, so a reachable file can compromise more than the wiki itself. An instance that is reachable from the internet, or from a network segment you do not fully control, deserves this check before anything else.

Run the check whenever the risk picture changes: after a version change, when you inherit an instance from another team or vendor, or when a security review asks whether configuration files can be read. Start by confirming the running version against the fixed releases in the advisory for each flaw, which are listed in the GitHub advisory for CVE-2025-55748. Then request the affected paths from outside your trusted network and confirm that the server refuses them. Record the results, the version and the date, because an auditor or customer reviewer will ask for the same evidence.

Two points need confirmation in your own environment. First, the advisory for CVE-2025-55748 reports that upgrading is the only fix, so a proxy rule is not a complete answer for that flaw. Second, check which distribution you run, since the demo Jetty package is not intended for production. Ask your team or your partner to confirm the exact deployed version, the servlet container, and whether any internal reverse proxy already blocks these paths. Those answers decide whether the upgrade can wait for a scheduled window or must happen immediately.

Which endpoints and components expose configuration files

The 2025 and 2026 advisories describe four different routes to the same class of data: configuration files such as WEB-INF/xwiki.cfg. Each route sits in a different part of the stack, so a patch that closes one does not prove the others are closed. Check each component against the affected ranges in its advisory before deciding what is exposed.

The jsx and sx endpoints

CVE-2025-55748 allowed a requester to read configuration files, including WEB-INF/xwiki.cfg, through the jsx and sx endpoints. That file holds database credentials and other settings that should never leave the server. The advisory lists 17.4.0-rc-1 and 16.10.7 as fixed releases and states that upgrading is the only workaround. Confirm the affected version range in the advisory itself, then check your access logs for requests to these endpoints.

Read the advisory

The webjars API

CVE-2025-55747 made configuration files reachable through the webjars API, a separate path from the jsx and sx endpoints. Patching the endpoint flaw does not by itself close this one, so review it as its own item in your change record. Confirm the affected and fixed versions in the XWiki Platform advisories before you rely on a version number. Then test the webjars path directly from outside your network to confirm the response is blocked.

Browse advisories

XJetty serving application files

CVE-2025-55749 affected XJetty, the Jetty-based runtime in XWiki distributions, which allowed access to any application file through a URL. This is broader than configuration files alone, since it can expose source, property and other files under the web application. The exposure depends on which distribution you run, so identify the server type first. Confirm affected versions in the advisory, and verify that the running container does not map the application directory to a public path.

Browse advisories

Skin action path traversal in Jetty 12+

CVE-2026-34151 is a path traversal through the /skin/ action in Jetty 12 and later. A crafted path can step outside the skin directory and read files the server should not serve. Because it is tied to the Jetty version, check the Jetty release in your deployment as well as the XWiki version. Confirm the affected range in the advisory, and test the /skin/ path with traversal sequences after any change to the servlet container.

Browse advisories

Fixed versions and workarounds for each advisory

This table lists each 2025 and 2026 advisory tied to configuration file exposure, the component it affects, the fixed release where one was supplied, and whether a workaround exists. Read the fixed version column as a starting point, and confirm each release in the GitHub advisory before you plan a change window.

AdvisoryAffected componentFixed releaseWorkaround
CVE-2025-55748jsx and sx endpoints, exposing WEB-INF/xwiki.cfg17.4.0-rc-1 and 16.10.7None other than upgrading
CVE-2025-55747Webjars API, exposing configuration filesConfirm in the GitHub advisoryConfirm in the GitHub advisory
CVE-2025-55749XJetty, allowing access to any application file through a URLConfirm in the GitHub advisoryConfirm whether a proxy rule or setting applies
CVE-2026-34151Path traversal via the /skin/ action in Jetty 12 and laterConfirm in the GitHub advisoryConfirm whether a proxy rule or setting applies
Your current versionCheck the version shown in your administration pages against the affected ranges in each advisoryNot applicableNot applicable
Demo Jetty distributionBundled demo server package, not intended for productionNot applicableReplace with a supported production deployment before fixing other items

How to check whether your instance is exposed

This sequence tells you which XWiki instances you run, which of them answer the affected paths from outside your network, and which branch and version each one is on. It ends with a written finding per instance that drives the upgrade decision.

  1. Inventory every XWiki instance and version

    List every XWiki installation in your estate, including test, staging, partner-facing and forgotten instances, and record the exact version string for each. Check the running version in the administration interface or the footer of the wiki, and confirm the container image tag or WAR file version on the host, since the two can differ after a partial upgrade. Done means each instance has one row with its name, hosting location, owner, exact version and the branch it belongs to (stable, LTS or intermediate LTS).

  2. Identify the application server and distribution

    For each instance, determine whether it runs on Tomcat, as the official Docker images do, or on the Jetty distribution. Look at the container image name, the startup scripts, the installed directories and the process command line on the host. Record the result per instance. Done means every instance is labeled with its servlet container and whether it runs the Jetty demo distribution, which is not intended for production use.

  3. Map exposure of the affected paths

    Confirm which of the affected paths, namely the jsx and sx endpoints, the webjars API and the skin action, are reachable from outside your network. Use your own external scanning or a test from a host outside your network that you are authorized to use, and request each path against the public hostname and any reverse proxy or load balancer in front of it. Check the reverse proxy configuration for rules that block or allow these paths, because a proxy rule can change the result. Done means each instance has a yes or no per path, with the test date and the host used.

  4. Review access logs for prior requests

    Search web server, reverse proxy and application logs for requests to the jsx, sx, webjars and skin paths, especially requests that returned success codes or unusually large responses, and for requests to configuration file names. Logs at the proxy layer often retain more history than the application. Note the retention period of each log source, since a short retention window limits what you can conclude. Done means each instance has a documented result: matching requests found and reviewed, or no matches within the retained logs.

  5. Check the advisory list for your branch

    Open the XWiki Platform security advisories on GitHub and find the entries for the flaws named in this topic, along with any later advisories affecting the same paths. For each instance, compare its exact version against the patched versions listed in each advisory for its branch. Do not rely on a single advisory summary, since fixes are listed per branch. Done means each instance is marked as patched, unpatched or unclear for each advisory, with the advisory identifier cited.

  6. Record findings and assign the next action

    Write one finding per instance that states its version, branch, server type, exposure result, log review result and advisory status. Mark any instance that is exposed, unpatched, or on the Jetty demo distribution as needing action, and assign an owner and a target date set by your own change process. If an instance cannot be upgraded immediately, record the interim controls you apply and the reason. Done means the findings are signed off by the platform owner and stored where your security team can retrieve them for audit.

Why the demo Jetty distribution does not belong in production

The demo Jetty distribution is built for evaluation, not for running a production wiki. It bundles a development server, and that server is the Jetty surface that CVE-2025-55749 (XJetty serving any application file through a URL) and CVE-2026-34151 (path traversal through the /skin/ action in Jetty 12 and later) depend on. Patching the platform fixes the flaws, but an instance on the demo package carries a server component that was never meant to face users or the network. Treat the demo bundle as a trial tool and keep it off any host that holds real content, credentials or configuration.

The supported path for production is the container deployment. The official XWiki Docker images are published as Tomcat variants in MySQL, PostgreSQL and MariaDB flavors, so the servlet container, its configuration layout and its hardening options differ from the Jetty package. Moving to Tomcat changes where the configuration lives and how the process is started, which means your backup, restore and monitoring scripts may need to be rewritten rather than copied across. Plan that migration as a change in its own right, with a tested restore of the database and the xwiki.cfg file before cutover.

Confirm the packaging differences against the XWiki installation documentation for the exact version you run, because the supported containers, Java requirements and file locations change between the stable, LTS and intermediate LTS lines. Check the XWiki Docker image documentation for the image variant you intend to use, then record which runtime each environment uses so that a future advisory can be matched to the right instances. An instance that cannot be moved immediately should be listed as an exception with its owner and a dated plan.

Where a request reaches xwiki.cfg

The diagram starts with a request from an external client crossing the internet boundary into the internal network, where a reverse proxy receives it. The proxy forwards traffic to the XWiki web application running on Jetty, and the affected endpoints (jsx, sx, webjars and skin) are the hand-offs where a request can reach files under WEB-INF. The stopgap proxy rule is the decision point: it can block these paths before patching, but it is not a fix. Check which path prefixes your proxy forwards and whether the demo Jetty distribution is serving the wiki directly.

Request path from the internet to the configuration file on the XWiki server.

Security and operational considerations after exposure

If an instance was running a vulnerable version, assume the configuration file may have been read until your logs show otherwise. The four steps below connect: contain the exposed paths, find out what was requested, rotate what the file could reveal, and record the evidence for your security team.

Rotate secrets held in xwiki.cfg

Treat any value in xwiki.cfg as exposed after a possible read. That includes database credentials, the connection settings your instance uses, and any shared secrets or keys placed in the file for integrations. Rotate each one at the database or service, then update the file and restart. Check whether other systems reuse the same passwords, since a read of the file exposes those too. Confirm your rotation order and change window with your database and application owners before you start.

Read the advisory

Review logs for affected paths

Search web server, proxy and Jetty access logs for requests to the endpoints named in the advisories, including the jsx and sx paths, the webjars API and the skin action. Look for successful responses, unusual file names and requests from addresses that do not belong to your users. Note the first and last matching request for each instance. Confirm your log retention period and whether logs from before the exposure window still exist, since incident procedures and retention rules are set by your organization.

Restrict admin and internal paths at the proxy

While you patch, block or restrict access to the affected paths at your reverse proxy or load balancer. Limit administrative and internal endpoints to known networks or VPN addresses, and deny direct access to Jetty and servlet container paths that users do not need. Proxy rules are a stopgap, not a fix, because they depend on matching the paths exactly. Test each rule against the vulnerable paths and keep a record of what you blocked and when.

Document the evidence for security review

Keep a dated record of the affected versions, the upgrade date, the proxy rules applied, the log queries run and their results, and the secrets rotated. Note which findings were confirmed and which remain open. This file lets your security team and any independent auditor see what happened and what was done about it. Store it in the system your organization uses for incident records, and confirm with your security team which fields and approvals they require.

What to do when an instance cannot be upgraded at once

If the instance can reach a fixed release within days, the upgrade is the fix and every other control is temporary. For CVE-2025-55748, the GHSA-m63c-3rmg-r2cf advisory states that upgrading is the only workaround, so no configuration change removes the exposure on its own.

  • Target the patched release for your branch: The advisory lists 17.4.0-rc-1 for the 17 line and 16.10.7 for the 16 line. Confirm the current patch level for your branch before you schedule the work.
  • Test on a restored copy: Restore a recent database and attachment backup to a staging instance, run the upgrade there, and check login, permissions, key spaces and installed extensions.
  • Back up before the change: Take a verified database dump and a copy of the configuration and attachment storage, and confirm you can restore it.
  • Test the endpoints after the upgrade: From outside your network, request the affected paths and confirm they no longer return configuration content.
  • Record the change: Note the start time, the version before and after, and the approver.

Before you close the ticket, confirm that the instance reports the fixed version and that the endpoint tests fail as expected.

Questions teams ask about XWiki configuration file exposure

How do I know whether my XWiki instance is affected by the configuration file exposure flaws?

Your instance is a candidate if it runs an XWiki version older than the fixed releases for its branch and exposes the jsx, sx, webjars or skin endpoints to users who should not reach them. The advisory for CVE-2025-55748 names the fixed releases 17.4.0-rc-1 and 16.10.7, and the related advisories cover the webjars API, the XJetty URL handling and the /skin/ action in Jetty 12 and later. Confirm the exact version from the wiki's administration pages and your deployment manifest, then compare it with the advisory list on the XWiki Platform security advisories page. Check the Jetty flavor too, because a demo Jetty distribution changes which of these issues applies to you.

Can I tell from access logs whether someone read xwiki.cfg?

Logs can show requests to the affected paths, but they rarely prove a file was read, so treat any hit as a reason to investigate. Search your reverse proxy and container logs for requests to the jsx and sx endpoints, the webjars path and /skin/ with path traversal sequences, and look for unusual response sizes or status codes from those requests. Record the source addresses and the authenticated user if your proxy passes one. If you find matches, review what the instance holds in configuration, rotate database and mail credentials that xwiki.cfg may contain, and involve your incident response process. Ask the vendor or a partner to confirm the exact request patterns for your version, because the advisories describe the affected endpoints rather than a complete log signature.

Is a proxy rule enough until I can upgrade XWiki?

A proxy rule can reduce exposure while you plan the upgrade, but it is a stopgap, not a fix. The advisory for CVE-2025-55748 states there is no workaround other than upgrading, so blocking patterns at the proxy may miss variants of the same flaw. If you add rules, block the affected endpoints and path traversal sequences, test them against a copy of your configuration, and log denied requests so you can see attempts. Keep the instance off the public internet where possible, restrict administrative access, and plan the upgrade on a fixed date. Confirm with your security team that the rule is documented as a temporary control and that someone owns its removal after the upgrade.

How long does the fix work take, and what makes it longer?

The work depends mainly on how far your instance is from the fixed release and how many extensions and customizations it carries. A patch within the same branch is usually simpler than a jump across a major line, which may also involve Java and Tomcat changes. Other drivers include the number of installed extensions and their compatibility with the target version, the size of the database, whether you run the official Docker images or a custom build, and whether you have a staging environment with recent data. Testing access to the affected endpoints after the change is part of the work. Ask any provider for a written plan that lists the source and target versions, the test cases and the rollback steps before agreeing a timeline.

Why should I not run the demo Jetty distribution in production?

The demo Jetty distribution bundles a sample setup meant for evaluation, and the related advisories show that Jetty-based paths were part of the exposure. The XJetty issue allowed access to any application file through a URL, and the /skin/ path traversal affected Jetty 12 and later. A production deployment should use a configuration you control, with the webapp deployed in a container or servlet engine you have hardened, a reverse proxy in front, and file permissions that limit what the process can read. Check the official Docker image documentation for the supported variants before you choose a base image, and confirm with the XWiki project which distribution it expects for production.

Can my own team check and fix this without outside help?

Yes, if your team has administrative access to the server, the reverse proxy and the XWiki instance, and time to run a staging test. The checks are version identification, endpoint testing from outside the network, log review and a documented upgrade with rollback. Teams without experience running XWiki upgrades, or without a staging copy, often find the extension compatibility and database steps take longer than expected. You can also decide to keep the check in-house and bring in a specialist only for the upgrade or for a security test afterward. Write down which steps your team owns so the handover to any partner is clear.

What does outside help cost for this kind of fix?

DeployOpen does not publish prices. A quote follows from a written scope that lists the instances, versions, extensions, environments and deliverables involved, and most engagements are fixed-scope. For reference, XWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan, according to its pricing page. That figure is the vendor's list rate for its own consulting and does not describe DeployOpen's fees. Ask any provider to split the quote into assessment, upgrade, testing and handover, and to state which parts are one-time and which recur, such as a retainer for future patches.

Does DeployOpen certify that my XWiki instance is secure after the fix?

No. DeployOpen plans, implements, hardens and tests self-hosted platforms, and it can run security testing and prepare evidence for compliance assessments. It does not issue audit reports, attestations or certifications, which independent auditors and certification bodies provide. A retest after the fix can show whether the affected endpoints still respond as expected, and the written findings report documents what was tested and what remains open. Ask for the scope of that test in writing, including which endpoints, versions and environments it covers.

Limits to confirm in your environment

This page cannot settle the exact affected version range for every advisory in this group. The supplied facts give the fixed releases for CVE-2025-55748 (17.4.0-rc-1 and 16.10.7) and name related advisories such as CVE-2025-55747, CVE-2025-55749 and CVE-2026-34151, but they do not list the full set of vulnerable versions for each one. Before you decide that an instance is safe, open each advisory in the XWiki Platform security advisories on GitHub and read its affected and patched version fields against the exact version you run. Treat any version that is not clearly listed as unconfirmed until the vendor or DeployOpen confirms it in writing.

Your packaging and reverse proxy can change exposure in both directions. A proxy rule that blocks the jsx, sx, webjars or /skin/ paths may reduce reachability, but it does not fix the underlying flaw, and a rule that matches the wrong path or runs only on some virtual hosts leaves gaps. Packaging matters too: a container image, a Tomcat deployment and a Jetty-based distribution expose different file layouts, so the same URL may or may not return a configuration file. Test each deployed path from outside your network, from inside it, and through every front end that serves the wiki, and record the results with the exact version and configuration tested.

Finding that a file was reachable does not show that anyone read it. Check your reverse proxy and application access logs for requests to the affected endpoints, especially successful responses with unusual sizes, and keep those logs for the period the advisory covers. If a xwiki.cfg file or other configuration was returned, plan to rotate the database credentials, mail credentials, and any secret it holds, because the file content is what matters, not the request. Ask your vendor or DeployOpen for a written scope that names the versions covered, the tests run, the logs reviewed and the evidence delivered, so that the findings can be shared with your security and compliance teams.

How DeployOpen checks and fixes XWiki exposure

DeployOpen plans, implements and tests self-hosted XWiki inside your own infrastructure, so the work that closes configuration file exposure advisories happens where your instance runs. We scope the check and the fix in writing, build and test them against your deployment, then hand over the evidence and runbooks your team needs.

How we scope

  • Inventory every XWiki branch, version and Jetty or Tomcat deployment you run before any change is planned
  • Confirm whether the demo Jetty distribution is in use, since it is not intended for production
  • Agree in writing which advisories are in scope, which endpoints are tested and what the fix window is
  • Engagements are fixed-scope, with deliverables and timelines agreed before work starts

How we build

  • Test whether jsx, sx, webjars and skin endpoints expose WEB-INF files on your instance
  • Upgrade to a fixed release on your branch, such as 17.4.0-rc-1 or 16.10.7 for CVE-2025-55748
  • Move production off the demo Jetty distribution and document the replacement runtime
  • Confirm any proxy block for an interim period is tested and does not break legitimate features

How we hand over

  • Deliver a findings report listing each affected endpoint, the evidence captured and the fix applied
  • Document the version baseline, the configuration changes and the retest results for your auditors
  • Provide runbooks for watching the XWiki security advisories and applying future patch releases
  • Hand over credentials and access records so your team holds control of the instance

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer for your XWiki estate
  • Retainers can cover tracking new advisories and retesting after each patch release
  • Confirm response expectations, scope limits and escalation paths in the retainer agreement before signing
  • Ask for a written quote that follows from the agreed scope, since DeployOpen does not publish a price list

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.