Is your XWiki exposed to CVE-2025-24893 SolrSearch remote code execution?
An XWiki installation in the affected range that guests can reach over the network can be taken over without a login. CVE-2025-24893 lets any guest run arbitrary code on the server through a single request to SolrSearch. Code execution on the application server affects confidentiality, integrity and availability of the whole installation, not only the wiki pages a guest could otherwise see. The GitHub security advisory GHSA-rr6p-3pfg-562j lists affected versions from 5.3-milestone-2 up to 15.10.11, and from 16.0.0-rc-1 up to 16.4.1. The fix is in 15.10.11, 16.4.1 and 16.5.0RC1.
The flaw is on CISA's Known Exploited Vulnerabilities Catalog, which means the agency has recorded evidence of active exploitation. For an internet-facing wiki, treat it as an incident-response question as well as a patching one. Start by confirming the exact running version, including the minor release, from the administration interface or the image tag your deployment uses, and compare it against the affected ranges above. Then confirm whether guest access is enabled and whether the SolrSearch endpoint answers for unauthenticated users through your reverse proxy, load balancer or WAF. Both conditions matter: a version in range with no guest-reachable path is a lower immediate risk than one that a stranger can reach from the internet.
If the instance is in range and reachable, the decision is between upgrading now and applying a stopgap while the upgrade is scheduled. Review the server logs for SolrSearch requests from unexpected sources and for process or file activity on the application host that you cannot explain, and involve your security team if you find any. Confirm which upgrade path your branch allows, since the fixed releases differ by line. The proxy and access-control options for an instance that cannot be upgraded at once are covered in the section on stopgaps below.
Which XWiki versions are affected and which release fixes them
The 15.x line is affected up to and including 15.10.11, the release that carries the fix for this flaw on that branch. Any 15.x instance running a version below 15.10.11 is in the affected range, and the fix for that branch is 15.10.11. Installations on this branch that have not moved to the patched release should plan the upgrade as a security priority, not as routine maintenance.
- Affected range: 15.x versions up to 15.10.11 are listed as affected in the advisory.
- Fixed release: 15.10.11 is the patched release for the 15.x branch.
- Check the exact build: a 15.10.x instance below 15.10.11 is still affected, so a minor-level match is not enough.
- Container images: if you run an official image, the version is in the image tag, which must be 15.10.11 or later on this branch.
- Stopgap: if you cannot upgrade immediately, use the mitigation guidance in the other tab on this topic before you schedule the change.
Confirm the running version in the administration console and against the advisory before you close the ticket.
The 16.x line is affected from 16.0.0-rc-1 up to and including 16.4.1. The patched release for this branch is 16.4.1, so instances on 16.0 through 16.3 and on 16.4.0 must move to 16.4.1 or a later release on that branch. The advisory places the fix in the 16.4 line, and a release candidate from the 16.5 series is also listed as patched in the advisory's fix list.
- Affected range: from 16.0.0-rc-1 up to 16.4.1 inclusive.
- Fixed release: 16.4.1 is the patched release for the 16.x branch covered by this advisory.
- Release candidates: 16.0.0-rc-1 and later pre-release builds in this range are affected, so test instances built from release candidates are in scope too.
- Patched later series: the advisory also lists 16.5.0RC1 as a fixed version, so confirm which build your change plan targets.
- Image tags: check the tag of the running container, since the image tag shows the release you deployed.
Read the advisory's version list directly before you set the target version, because the ranges are the authority, not a summary.
The advisory lists affected ranges that start at 5.3-milestone-2, which means installations far older than the 15.x and 16.x lines are in scope. Treat any instance whose version falls inside the listed range as vulnerable, even if it is no longer receiving routine updates. Older instances are often the hardest to upgrade, so their risk needs an explicit decision and owner.
- Range start: the first affected version in the advisory is 5.3-milestone-2, so very old builds are included.
- Unsupported builds: an instance outside the supported lines still falls inside the affected range and should be handled as vulnerable.
- Hidden copies: test, staging and forgotten sandbox instances often run older builds and are reachable by the same guest path.
- Migration path: moving from a very old release to a fixed release can require intermediate steps, so plan the upgrade path with the XWiki upgrade documentation rather than jumping directly.
- Decision record: if an older instance cannot be upgraded soon, record the owner, the exposure, and the compensating controls in writing.
Inventory every XWiki instance in your estate, including older ones, before you assume any of them is out of scope.
Version questions are answered by the running instance, not by memory or by the name of the environment. Confirm the exact version in the administration console and, for container deployments, in the image tag, and compare it against the ranges in the advisory. Record the result for each instance so the decision can be audited later.
- Administration console: the running version is shown in the administration area of the instance, which is the most direct check.
- Image tag: for official container images, the tag identifies the release that was deployed, but confirm it matches the running container.
- Advisory ranges: compare the exact string against the affected and fixed lists in the advisory, not against a summary.
- Inventory record: keep a per-instance record of version, branch, owner and exposure, including test and staging copies.
- Re-check after changes: confirm the version again after each upgrade or rollback, since a restored backup can bring back an older build.
If the version is unclear or cannot be read, treat the instance as affected until the version is confirmed.
How to check whether your instance is exposed
This sequence establishes whether your XWiki version falls in the advisory's affected range, whether an unauthenticated visitor can reach SolrSearch, and whether logs show that the endpoint was already used against you. It ends with a clear decision on whether to investigate a possible compromise.
Record the running XWiki version
The platform team confirms the exact XWiki version that is serving traffic, not the version in the deployment plan or the last change ticket. For a Docker deployment, read the image tag in the running container and check the version shown in the wiki's administration area. For a Tomcat WAR install, read the version in the deployed application's metadata or the administration page. Compare the result with the affected range in GHSA-rr6p-3pfg-562j: versions from 5.3-milestone-2 up to 15.10.11, and from 16.0.0-rc-1 up to 16.4.1. Done means you have one written version string per instance, and you know whether it sits inside either range. If it is 15.10.11 or 16.4.1 or later on its branch, the advisory's fixed versions are already in place for that branch.
Identify the deployment type and its upgrade path
Record how the instance is run: the official Docker image (with MySQL, PostgreSQL or MariaDB), a Tomcat WAR installed by hand, or a Helm chart on Kubernetes. The answer decides where the version is changed later and which images or artifacts must be rebuilt or redeployed. Also note whether there is a separate Solr server, because the search path your team inspects depends on it. Ask the owner of each instance to name the person who can deploy a fixed build within your change process. Done means every instance has a deployment type and a named owner in your inventory.
Test guest access to the wiki and SolrSearch
From a machine outside your corporate network, or from a session with no login, open the public wiki address and confirm whether pages are readable as guest. Then confirm whether requests to the SolrSearch endpoint are accepted without authentication. Run this check from the same path an attacker would use, including any public DNS name, load balancer and reverse proxy. Record the result for each hostname, since one instance may be reachable through several. Done means you have a yes or no answer per hostname for guest read access and for unauthenticated SolrSearch requests. Any unauthenticated yes on a version in the affected range is an exposed instance.
Review reverse proxy and load balancer logs
Pull access logs from the reverse proxy, load balancer and any web application firewall for the period since the affected version was deployed, filtering for requests that reach SolrSearch. Group the results by source address and user agent, then flag requests from clients that are not your monitoring tools, your staff or known integrations. Check whether any such request returned a successful response. Confirm the log retention window with the team that owns the logs, because older records may already be gone. Done means you have a list of SolrSearch requests from unknown clients, or a written statement that none were found within the retained window.
Check the wiki and host for signs of compromise
If an affected instance was reachable by guests and logs show unknown SolrSearch requests, a compromise investigation is required. Review the application and host for changes the platform team did not make: new or modified pages with script content, unexpected administrator or script-right accounts, new extensions, changed configuration files, unexpected processes on the host or container, and outbound connections from the server. Engage the team that handles incident response in your organization, and preserve logs and a copy of the instance before changing anything. Done means the investigation has a documented outcome, either no indicators found in the reviewed sources or a confirmed compromise handed to incident response.
Decide the remediation path
For each instance, record one of three outcomes: already fixed, exposed and upgradeable now, or exposed and not upgradeable immediately. An instance on a fixed version with no unauthenticated access needs only a record of the check. An exposed instance that can be upgraded moves to the upgrade to 15.10.11 or 16.4.1, or to the 16.5.0RC1 release where your branch requires it. Confirm the CISA Known Exploited Vulnerabilities Catalog entry for this CVE as part of the record, since its listing affects how your risk owners prioritize the work. An instance that cannot be upgraded at once needs interim controls described in the next section. Done means every instance has a recorded decision and an owner.
How a guest request reaches the vulnerable code path
The diagram starts at an anonymous client on the internet, which sends a request through the edge and a reverse proxy to the XWiki Tomcat container. Inside the container, the request reaches the SolrSearch macro path, which is where the advisory places the flaw. The wiki's database and file storage sit behind that path, so they are what an attacker could reach after exploitation. The trust boundary marks where guest access ends and the server begins. Check each hop in your own environment to see which ones you control and what they log.
Guest request path from the internet to XWiki data stores, with the trust boundary marked.
Upgrading to 15.10.11 or 16.4.1 without breaking the instance
The fix for CVE-2025-24893 is a version upgrade, so the work is a change to a production system and should be planned as one. Before touching the instance, take a backup of the database and the attachment store together, since the wiki's pages and files only restore consistently when both come from the same point in time. Confirm that the backup restores on a separate host, because a backup nobody has restored is not yet a rollback plan. Write down the current version, the Tomcat and Java versions, and the Solr setup so the rollback target is unambiguous.
Rehearse the upgrade on a staging copy built from a recent backup of production. Use the same database engine, container image variant and extension set as production, and run the upgrade from the version you run today to the target. Check every installed extension against the target version before the rehearsal starts, because an extension built for an older core can fail after the upgrade or block startup. Test the paths your users depend on, including page editing, search, attachments and any SSO login, and record the time the rehearsal takes so the production window is based on evidence.
Pin the target in the deployment configuration to an exact tag. The official XWiki Docker images are maintained by the XWiki Core Dev Team, and the tags for the LTS and intermediate LTS lines are published in the official Docker images library file for XWiki. Confirm the exact fixed tag for your branch against the advisory before you pin it, and avoid floating tags such as latest. Do not treat 16.5.0RC1, the release candidate that also carries the fix, as a production target unless the team has formally accepted the risk of running pre-release code. Record the rollback path in writing: the previous image tag, the database and attachment restore steps, and the person who authorizes the rollback.
What to do if you cannot upgrade yet
If the fixed releases cannot be deployed right away, these controls shrink the window in which an unauthenticated visitor can reach the vulnerable search path. Each one reduces exposure, and none of them replaces the upgrade to a fixed release.
Restrict guest access to the wiki
The advisory describes exploitation by any guest, so the first question is whether anonymous users can reach the instance at all. Check the wiki's guest access settings and any rights granted to guest users, and confirm that an unauthenticated request to the SolrSearch path is refused in your environment. If guests can reach the search path, treat that as the priority finding. Test the result with an anonymous session, not an administrator session.
Read the advisoryBlock SolrSearch endpoints at the proxy
A reverse proxy rule can refuse requests that reach the SolrSearch macro path before they hit XWiki. Write the rule so it matches the exact request path your deployment serves, and confirm that normal page browsing still works afterward. Record the rule, the date it was applied and the owner who can remove it after the upgrade. This is a stopgap that depends on matching the path correctly, so verify it with test requests.
Limit internet reachability
An instance that only needs to serve staff should not be reachable from the public internet. Confirm which networks, VPN ranges or identity-aware proxies can reach the wiki, and remove any public DNS record or load balancer listener that exposes it without need. Check the cloud security group, firewall and ingress rules together, because a rule in one layer can undo a rule in another. Document the reachable paths before and after the change.
Extend log retention and alerting
Requests to search endpoints from unauthenticated sources are the most useful trace if exploitation has already happened. Confirm that web server or container logs retain request paths, status codes and source addresses for longer than your normal rotation, and that someone is alerted on repeated search requests from guest sessions. Check that logs are shipped off the host, so an attacker with server access cannot erase them. Retention periods should follow your own policy, which you should confirm with your security team.
Review accounts and rights for misuse
Exploitation through the guest path leaves little trace inside the wiki, so look for changes that a successful attacker would make next. Review recently created or modified users, group memberships, page edits by unexpected accounts and any new extensions or scripts. Compare the current state against your last known good configuration or backup. Any sign of misuse should move the incident to a full investigation, because an upgrade alone does not remove an attacker's access.
Plan the upgrade window
The stopgaps only reduce exposure, so the upgrade needs a date and an owner. Identify your installed version against the affected ranges in the advisory, then choose the fixed release on your branch, either 15.10.11 or 16.4.1. Test the upgrade in a staging copy with a recent database and attachment backup, and confirm that the proxy rules still behave correctly afterward. Keep the stopgap rules in place until the fixed version is running in production.
Check CISA KEVRemediation options and when each fits
This table compares three responses to CVE-2025-24893: upgrading to a fixed release, restricting the SolrSearch path while the upgrade is scheduled, and rebuilding on a supported current line. Match the row to how far your installation is behind and how quickly you can change it. The main takeaway is that a restriction is a stopgap, and the fixed release on your branch is the only complete fix.
| Option | When it fits | What it requires | Main trade-off |
|---|---|---|---|
| Upgrade to 15.10.11 or 16.4.1 | Your instance is on an affected release in the 15.10 or 16.4 line, or you can move to the fixed release on the branch you run | A change window, a backup of the database and attachments, a test run of the upgrade on a copy, and a check of extensions against the new version | Requires downtime and testing; extensions may need updates before the upgrade succeeds |
| Upgrade to a later fixed release on your branch | You run a branch other than 15.10 or 16.4, such as the 16.5.0RC1 line noted in the advisory, or a later patch release | Confirm the fixed version for your branch in the GitHub advisory, then plan the upgrade path and extension compatibility | Release candidates may not suit production; confirm which build is a stable release before choosing it |
| Interim proxy and access restrictions | The upgrade cannot happen immediately, and you can block or limit requests that reach SolrSearch from unauthenticated users | Access to the reverse proxy or load balancer, a list of the SolrSearch paths your users need, and logging of blocked requests | Restrictions can break search features or macros that rely on those paths, and they do not remove the vulnerable code |
| Rebuild on a supported current line | The installation is far behind the affected ranges, its extensions are unmaintained, or its platform dependencies are out of date | A new deployment, a data migration plan, extension review, and a cutover test with users and admins | Largest effort of the three options; the old instance stays exposed until cutover, so restrictions are still needed meanwhile |
| Take the instance offline | Guest access cannot be restricted and the wiki holds content that does not need to stay live during the fix | A decision from the business owner, a notice to users, and a plan to restore access after the upgrade | Stops the wiki for users; this is the only option that removes exposure without relying on proxy rules |
Security and operational considerations after patching
Patching closes the SolrSearch path, but it does not tell you whether the instance was already abused. The cards below cover the checks to run after the upgrade, from ruling out compromise to tracking later fixes, in the order most teams find useful.
Assume compromise if exposed
If the instance ran an affected version and was reachable by guests, treat the period before patching as unverified. Since the flaw allows any guest to run code through a SolrSearch request, the absence of visible damage does not prove the server was untouched. Decide with your incident response team whether to investigate, rebuild or restore from a backup taken before exposure. Record the decision and the date.
Read the advisoryReview admin and script-capable accounts
List every account holding administrator rights, programming or script rights, and any group that grants them, both globally and on individual spaces. Compare the list with your records of who should hold these rights. Remove stale accounts, confirm each remaining account belongs to a named person, and check when each right was last changed.
Rotate credentials stored in the wiki
Wikis often hold database passwords, API tokens, service account credentials and connector secrets in pages, macros or configuration. Find these with a search of pages and attachments, then rotate each one at its source system. Rotating only the copy inside XWiki leaves the original usable, so update both sides and confirm the old values no longer work.
Check for unexpected pages and files
Review recently created or modified pages, attachments, extensions and uploaded files, sorted by date and author, and compare them with your change history. Also check the installed extension list and the server's webapps and temporary directories for files you did not deploy. Investigate anything unexplained before treating the review as complete.
Keep logs for the investigation period
Preserve Tomcat access logs, XWiki logs and reverse proxy logs covering the whole period the instance was exposed, not only the days around the upgrade. Copy them to storage outside the wiki server and restrict access. Note the retention limits of your log platform so that evidence is not overwritten while the review is open.
Subscribe to XWiki security advisories
Follow the XWiki platform security advisories on GitHub so that later fixes reach you before the next routine upgrade. Confirm the version line you run still receives fixes, and schedule a review when a new advisory affects your version. Assign one owner to read advisories and decide on patch timing.
Advisory pageQuestions teams ask before fixing CVE-2025-24893
Can our own team patch XWiki for CVE-2025-24893 without outside help?
Yes, if your team already runs XWiki in its own infrastructure, has a tested backup and can move the instance to a fixed release. The patch itself is an upgrade to 15.10.11 or 16.4.1, or a later release on the same line, so the work is mostly planning, testing and change control rather than new engineering. Teams without a staging copy, without a rollback plan or without someone who has upgraded XWiki before usually find the first upgrade slower than expected. Confirm your version against the GHSA-rr6p-3pfg-562j advisory before deciding who does the work.
What makes the remediation effort larger or smaller?
Effort follows the shape of your installation more than the CVE itself. The main drivers are:
- Number of instances, including staging, test and any forgotten internal copies
- Customizations, custom applications and scripts that must be retested after the upgrade
- Extensions from the XWiki Store or xwiki-contrib, each of which may need a compatible version
- Deployment type, such as a container image, a Tomcat install or a packaged distribution
- Backup maturity, meaning whether you can restore a known-good copy quickly and verify it
Each driver can be checked before quoting, so ask any provider to list them against your environment.
Do we need a full rebuild of XWiki to close this vulnerability?
Usually no. The advisory's fix is in the released versions 15.10.11 and 16.4.1, so an in-place upgrade to a fixed release on your branch closes the flaw without rebuilding the wiki from scratch. A rebuild only becomes worth considering when the instance is so far behind that several upgrade stops are needed, when the host operating system or Java runtime must change at the same time, or when you suspect compromise and cannot trust the existing installation. Confirm with your team which upgrade path your current line requires.
What does the patch work need from our team?
Plan for access, time and accountable people before work starts:
- Administrative access to the hosts or containers, the database and the XWiki administration interface
- Change windows agreed with the business, including a rollback window
- A named owner who can approve the upgrade and accept the outcome
- Evidence of a recent, restorable backup of the database, attachments and configuration
- A staging copy that resembles production closely enough to test key pages, search and permissions
Missing backup evidence is the most common reason a patch window gets postponed.
How long does it take to remediate CVE-2025-24893?
The duration depends on the same drivers that set effort: instance count, customizations, extensions, deployment type and backup maturity. A single standard instance with a tested backup and no custom code is generally a shorter exercise than a estate of several instances with custom scripts and third-party extensions. Ask any provider for a schedule that separates inventory, staging upgrade, testing, production change and post-upgrade checks, so each stage can be timed against your own environment. Because the advisory lists the affected range up to 15.10.11 and 16.4.1, confirm first whether your instances fall inside that range at all.
What should we do if we suspect the wiki was already compromised?
Treat suspicion as an incident before you treat it as a patch. Preserve logs and a copy of the current state, restrict access to the instance, and review requests to the SolrSearch endpoint and any unexpected changes to pages, scripts, users and extensions. Patching the version does not remove code or accounts that an attacker may already have planted, so a fixed version alone is not a cleanup. Involve your incident response process and legal or privacy contacts where data may have been exposed. Decide with your security lead whether to clean the existing installation or rebuild it from a trusted source and restore data that predates the exposure.
Should we bring in an outside review for this patch?
An outside review is worth scoping when the instance is internet-facing, when it holds regulated or sensitive records, when your team has not upgraded XWiki before, or when you must show an assessor that the fix was verified. DeployOpen can plan and implement the upgrade in your infrastructure, test the instance for exposure and prepare the evidence your compliance team asks for. It does not issue audit reports or certifications, so independent assessors remain the source of any formal opinion. Ask for the scope in writing, including the instances covered, the tests run and the deliverables, before work starts.
Official sources for CVE-2025-24893
The GitHub security advisory GHSA-rr6p-3pfg-562j is the authoritative statement of this flaw, and it is the first place to check which versions are affected and which are fixed. The advisory describes the issue as remote code execution as guest through a SolrSearchMacros request, and it lists affected versions from 5.3-milestone-2 up to 15.10.11 and from 16.0.0-rc-1 up to 16.4.1. It names 15.10.11, 16.4.1 and 16.5.0RC1 as the patched releases. Read the advisory's version ranges against the exact version you run, not against the branch name alone, because a deployment on an older 15.x or 16.x build may fall inside a range that looks closed.
The CISA Known Exploited Vulnerabilities Catalog is the source for whether this flaw is listed as exploited in the wild. Listing in the catalog changes the urgency: federal agencies in the United States are directed to remediate KEV entries on a set timeline, and many regulated organizations use the catalog as a patch priority input even outside that obligation. Search the catalog for the CVE identifier and record the date you checked and the entry you found, because the catalog is updated over time. Confirm the current KEV status yourself at the time of your review rather than relying on an earlier copy of this page.
Keep a short record of what you checked: the advisory version list, the KEV entry, the exact XWiki version and build on each instance, and the date of the check. Auditors and internal risk owners will ask for this evidence, and it also shows which instances fall inside the affected ranges. If a vendor or hosting provider reports a different status, ask them to name the version they run and the advisory they reviewed, and compare that against the two sources above before accepting the answer.
How DeployOpen works on this
DeployOpen starts by confirming which XWiki versions run in your environment and whether SolrSearch is reachable by guests, then plans the upgrade to a fixed release on your branch. The work is delivered inside your own infrastructure, with testing, documentation and a handover your team can repeat.
How we scope
- Inventory every XWiki instance, its exact version and whether guest access can reach SolrSearch requests.
- Agree in writing which fixed release (15.10.11 or 16.4.1) each instance moves to and why.
- Define in the written scope whether interim proxy restrictions are included while an upgrade waits on change approval.
How we build
- Back up the database, attachments and extensions before any change, and confirm the restore path.
- Upgrade a copy of the instance first, then test SolrSearch behavior as a guest and as a logged-in user.
- Review installed extensions for compatibility with the target release and record any that need updates.
How we hand over
- Deliver a written record of versions found, versions deployed, tests run and the outcome of each test.
- Document the upgrade and rollback steps so your operations team can repeat them on other instances.
- Walk through the findings with your security and platform teams, including what remains open and who owns it.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope work ends.
- Watch for further XWiki advisories and tell you which branches are affected and what fix applies.
- Retest after later upgrades so the SolrSearch fix stays verified on your live instances.

