XWiki security hardening

A practical plan for hardening a self-hosted XWiki: patch cadence, guest and scripting rights, servlet container and database settings, and extension review. Written for teams deciding whether to do it in-house or with a partner.

On this page

Why XWiki security hardening needs a plan before go-live

A self-hosted XWiki is secure only if you change its defaults before users arrive. The work is to decide who can read, edit and script content, which extensions may run, and how each layer of the stack is locked down, then to verify those decisions on the running system. Teams that migrate content from another tool often carry over its open sharing habits, and they assume the wiki's defaults match their policy. They rarely do. Before go-live, confirm the guest access setting, the rights granted to registered users, who holds scripting rights, and which extensions are installed, and write those decisions down so they can be tested again after each upgrade.

Hardening is harder than it looks because a wiki is shared by design. Most pages are meant to be read and edited by many people, so a permission mistake at space or page level exposes content quietly rather than breaking anything visible. Scripting adds a second risk: wiki pages can contain server-side scripts, so the right to edit content can carry the right to run code. Extensions also execute code inside the wiki, which means each one you install extends your trusted computing base and needs the same review as any other software you deploy. Your review should cover who approved each extension and when it was last checked against the release line you run.

The attack surface also spans several components that different teams often own. XWiki runs on a servlet container such as Tomcat, stores content in a relational database, and usually sits behind a reverse proxy that terminates TLS and filters requests. A weak setting in any one layer can undo the controls in another, for example a proxy that exposes administrative paths or a database account with broader privileges than the application needs. Plan who owns each layer, how security releases reach all of them, and how you will confirm the stack after each change. The XWiki Docker image documentation is a useful starting point for confirming which image variant and base components you are running.

Which parts of the stack you must harden

A hardened XWiki is the sum of several layers, and an attacker only needs one weak layer to get in. The cards below cover the application and rights model, the Tomcat servlet container, the database, the reverse proxy and TLS, the extension set, and the admin and identity settings. Work through them in order, because later layers depend on the controls set in earlier ones.

XWiki application and rights

The wiki itself holds the content, the scripting features and the permission rules. Review guest access at the wiki, space and page levels, and confirm which groups hold script and programming rights, since those rights let a user run code on the server. Test with a non-admin account that has been given only the access it needs, and record each exception with an owner and reason. Rights granted to groups are easier to audit than rights granted to individual users.

XWiki pricing

Servlet container (Tomcat)

The official images run XWiki on Tomcat, so the container's configuration is part of your attack surface. Check which ports are exposed, whether the manager and example applications are removed or blocked, and whether the process runs as a non-root user with write access limited to the XWiki data directories. Keep the Tomcat version aligned with the one shipped in your chosen image and rebuild when the image is updated.

Database variant and access

Each official image is built for MySQL, PostgreSQL or MariaDB, so the database engine is a decision you make at deployment. Give XWiki its own database account with only the privileges it needs, keep the database off public networks, and enable encrypted connections where your environment supports them. Confirm backup and restore procedures cover the database and the attachment storage together, because restoring one without the other leaves the wiki inconsistent.

Reverse proxy and TLS termination

TLS is usually terminated at a reverse proxy in front of the XWiki container, so that layer decides which headers, paths and admin pages reach the application. Restrict access to administrative paths by network or identity, pass the correct forwarded headers so XWiki builds correct links, and set a modern TLS policy that your security team approves. Confirm how the proxy logs requests and who can read those logs.

Extension set and update process

Extensions add macros, applications and connectors, and each one runs with the privileges of the wiki. Inventory every installed extension, record its source and version, and remove those you do not use. Review extensions that run scripts or connect to external services before installation, and test them on a staging copy before any upgrade. The XWiki Pro page lists commercial connectors, so check licensing for each one you plan to keep.

XWiki Pro

Admin and identity settings

Administrator accounts and the login method decide who can change every other control. Limit the admin group to named people, remove shared accounts, and require strong authentication for administrators. If you connect XWiki to an external identity provider through OpenID Connect, confirm how users are provisioned and removed, and that a leaver loses access in both systems. Review the authentication settings after each upgrade, since a change in defaults can reopen a path you closed.

OpenID Connect extension

Choosing the release line and hardening path

XWiki publishes a stable line, a long term support (LTS) line and an intermediate LTS line. At the time of research, the official Docker image tags were 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS. The stable line receives the newest features and fixes, so it moves forward most often. The LTS line is built for organizations that want fewer major changes and a longer period on one branch. The intermediate LTS sits between them. Your choice sets how often you must test and deploy patches, which is the main operational cost of hardening.

  • Stable line (18.8.0): Expect the most frequent upgrade decisions, since each release brings new functionality and fixes that must be validated.
  • LTS line (17.10.14): Fewer major moves, but confirm the current maintenance schedule with XWiki before planning the cadence.
  • Intermediate LTS (18.4.7): A middle path, useful if you want a newer code base without tracking every stable release.
  • Image variants: The official images come in MySQL, PostgreSQL and MariaDB variants on Tomcat, for amd64 and arm64v8, so the database choice also affects your rebuild and test workload.
  • Ask before choosing: Confirm the support window for each line directly with XWiki, as it is not stated in the facts supplied for this page.

Check which line your team can patch within the timeframe your security policy requires.

How to harden XWiki in the right order

This sequence moves a self-hosted XWiki from a default install to a locked-down instance by fixing the release and transport first, then access, rights, scripting, the runtime and finally logging. Each step closes with a check so the owner can show the controls work before the wiki holds real content.

  1. Pin the image and release line

    Choose stable, LTS or intermediate LTS before anything else, then pin the exact image tag in your deployment file rather than following a floating tag. At the time of research, the official Docker image tags were 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS, so confirm current tags with the maintainers before you pin. Record the choice and the database variant (MySQL, PostgreSQL or MariaDB) in your change log. Check: the running instance reports the pinned version in the administration pages, and your deployment file names that same tag.

  2. Put the instance behind TLS and a reverse proxy

    Terminate TLS at a reverse proxy in front of Tomcat, enforce HTTPS redirects, and stop direct access to the container port from user networks. Set the public base URL so generated links and cookies use https. Restrict administrative paths at the proxy if your network design allows it. Check: a plain HTTP request is redirected or refused, the certificate chain validates from a client outside your network, and the container port does not answer from outside the proxy.

  3. Restrict registration and guest access

    Decide whether self-registration is allowed at all. If it is not needed, disable it in the administration settings and remove or limit the registration pages. Review guest rights at the wiki level and on sensitive spaces so anonymous users can only view what the business has agreed is public. Confirm with the content owners which spaces, if any, should be readable without login. Check: from a private browser session, anonymous users can see only the intended public pages, and the registration page is not reachable.

  4. Review global and space rights

    Walk the global rights and the rights on each top-level space. Remove edit and delete rights from the guest and all-users groups where they are not intended, and confirm that administrative rights sit with a named admin group. Use groups rather than individual user grants wherever possible so the review stays manageable. Keep a written list of who holds each sensitive right. Check: a test account from each group can perform only the actions it is meant to, and the rights export or review page matches your written list.

  5. Restrict scripting and programming rights

    Scripting and programming rights let a user run server-side code through macros and pages, so limit them to a small, named admin group. Remove script rights from general contributor groups and from guests, and avoid granting them to individual accounts. Review any page that already contains script macros written by non-admins, because they will keep working after the change only if their author retains the right. Check: sign in as an ordinary editor, create a page containing a script macro, and confirm it is refused or does not execute.

  6. Harden Tomcat and the database account

    Run Tomcat with the minimum configuration the wiki needs: remove sample and manager applications, disable directory listing, restrict the shutdown port, and keep the connector and proxy headers consistent with your reverse proxy. Give the XWiki database account only the privileges it needs for its schema, not database administrator rights, and keep the credentials out of shared files. Confirm the database port is reachable only from the wiki host. Check: the manager and sample paths return not found, a directory URL does not list files, and the database login fails from any host other than the wiki server.

  7. Review and remove unused extensions

    Inventory every installed extension, its version, its author and whether a page or application depends on it. Remove extensions no one uses and test the rest against the release line you pinned before any upgrade. Confirm the source of each extension, since XWiki Pro apps and community contributions carry different support terms, and ask the vendor or project which versions are supported for your release. Check: the extension list matches the inventory, every remaining extension has a named owner, and a test page using each one renders after a restart.

  8. Enable logging and confirm the controls hold

    Turn on application and access logging, send logs to a location the wiki administrators cannot silently edit, and decide who reviews them and how often. Then repeat the earlier checks as a single regression pass: anonymous access, registration, script rights, and database and admin paths. Store the results with the change record so an auditor or security reviewer can see what was tested and when. Check: a deliberate failed login and a rights change both appear in the log, and the regression results are signed off by the owner.

Locking down guest access and scripting rights

Guest access and script-capable rights are the two places where a wiki most often exposes content or execution to people who should never reach it. Start by deciding, space by space, which content is genuinely public. Most knowledge bases hold a mix of material: product documentation that can be read anonymously, internal procedures meant for staff, and restricted areas such as finance, legal or incident records. Write that classification down before touching any setting, because it becomes the baseline you test against. Then confirm with your own team which spaces, if any, the guest account should be able to view or edit. In a self-hosted deployment, anything not explicitly classified as public should be treated as internal until someone approves otherwise.

Next, review the rights granted to the guest and all-users groups at wiki level and on each public space. Remove view, edit, comment and attachment rights that the business case does not require, and confirm that a logged-out visitor cannot see pages you did not intend to publish. Pay particular attention to edit rights on the guest account, since anonymous editing is a common source of spam and defacement. Scripting, programming and admin rights deserve the same scrutiny. These rights allow users to run server-side scripts or change wiki-wide configuration, so a grant to a broad group can turn an ordinary editor into a user who can execute code on the server. Check the rights model documentation for your XWiki line and verify each grant in a test account, rather than trusting the summary in the admin interface alone.

Finally, keep the list of users with programming rights short, named and owned. Each entry should have a documented reason, an approver and a review date, and the list should be reviewed whenever staff change roles or leave. Remove programming rights from groups and grant them to individuals where possible, so that revocation is traceable. Ask your implementation partner or internal team to export the current list of users and groups holding these rights, and to confirm that no service or migration account retains them after cutover. If a migration tool or extension requires temporary elevated rights, record when they were granted and revoke them as soon as the job completes.

Hardening controls for the servlet container, database and identity

XWiki runs as a Java web application on a servlet container and depends on a relational database and an identity source. Each layer has its own default settings and its own exposure, so hardening them one at a time is more reliable than treating XWiki as a single box. The cards below cover the controls to review in each layer and the checks to run before go-live.

Strip default Tomcat applications

The XWiki Docker images run on Tomcat, and a fresh servlet container can ship with sample and manager applications that were never meant for production. Confirm which web applications are deployed in the container and remove anything XWiki does not need. Then check that the XWiki context is the only application reachable from the public address, and that default error pages do not reveal server versions.

Docker image docs

Restrict management and admin interfaces

Tomcat's manager and host-manager interfaces allow remote deployment and should not be reachable from users' networks. Bind any management port to localhost or an administrative network, and require strong authentication where one is kept. Place a reverse proxy in front of XWiki to enforce HTTPS, set security headers such as HSTS and a content security policy, and hide or trim the headers that disclose the server software.

Least privilege for the database account

XWiki needs a database user that can read and write its own schema, not a superuser or a shared administrator account. Create a dedicated user for the application, grant rights only on the XWiki database, and keep schema-change rights for upgrade windows, where they can be granted and revoked deliberately. Confirm the database listens only on the application network and that backups are encrypted and access-controlled.

Keep credentials out of config files

Database passwords, the XWiki admin password and any SMTP or connector secrets should come from a secrets store or environment injection rather than plain text in shared files or the wiki itself. Rotate the initial admin credentials after installation, and confirm that configuration files are readable only by the service account. Ask your team who holds the break-glass credentials and where the rotation record lives.

Choose the identity integration path

Decide whether sign-in goes through OpenID Connect, LDAP or Active Directory before users are created by hand. Each path changes who can disable an account, how group membership maps to XWiki rights, and what happens when the directory is unavailable. The xwiki-contrib OpenID Connect extension is one option to evaluate and test against your provider, not a guaranteed control, and its fit depends on your provider and version.

OIDC extension repo

Test the chain end to end

After each layer is changed, verify the whole path: an external request should reach only HTTPS through the proxy, a removed account should lose access, and the database user should fail when it tries a schema operation outside its grant. Record these checks in a short runbook so that the next upgrade or Tomcat update repeats them. Ask any partner for a written list of the checks they run and the evidence they deliver.

What drives hardening effort and how to keep it down

This table lists the factors that most change how much work a self-hosted XWiki hardening project takes, and the practical ways to reduce each one. Read it as a checklist: each driver is something you can measure in your own wiki before asking for a scope or quote. The main takeaway is that most effort comes from unreviewed rights, unused extensions and undocumented scripting access, so cleaning those up first lowers the cost of everything else.

DriverWhy it changes effortHow to keep it down
Spaces and groups needing rights reviewEach space, page tree and group with its own rights adds review and testing work, and inherited rules are easy to misread across many levels.Standardize on a small set of groups mapped to roles, and remove or merge groups nobody uses before the review starts.
Count and age of installed extensionsEvery extension is code to check for known issues, compatibility with the target XWiki line, and whether it still gets updates.Retire unused extensions, confirm each remaining one is maintained for your XWiki version, and keep a written inventory with owners.
Extensions and apps with server-side codeExtensions that add server-side code or macros widen the attack surface and need more testing than skins or simple display changes.Prefer fewer, well-known extensions and record which ones run server-side code so reviewers can focus there first.
Users with scripting rightsScripting rights allow code execution inside the wiki, so each holder needs review and a documented reason for the grant.Limit programming rights to a short, named list of developers, and move routine needs to reviewed macros or approved extensions.
Guest access and public spacesEach space open to guests or anonymous edits must be tested separately, and mistakes there are easy to miss.Decide which spaces truly need guest access, default new spaces to closed, and keep the public list short and reviewed.
Identity sources and integrationsEach SSO, LDAP or Active Directory link and each connector adds configuration, secret handling and a trust boundary to verify.Use one primary identity source where possible, document the group mapping, and remove integrations that no longer have an owner.
Number of environments (dev, test, production)Each environment needs its own configuration review, and drift between them is a common source of rework.Keep configuration in version control, apply the same hardening settings to each environment, and limit test data copies to what testing needs.
Compliance evidence requirementsAssessors and internal audit may ask for proof of settings, access reviews and change history, which takes time to collect if it is not kept routinely.Ask your auditor which evidence they expect, then set up recurring exports of group membership, rights and extension lists from the start.
Upgrade cadence and security release handlingFrequent releases mean repeated regression checks of extensions and custom settings, which grows with the number of extensions and customizations.Pick the XWiki line your team can keep current, keep a tested rollback path, and confirm the upgrade checklist covers extensions.

Auditing extensions before and after go-live

Every XWiki extension you install is code that runs inside your wiki's Tomcat process, so treat each one as a privileged component rather than a convenience. An extension can add macros, UI actions, listeners, REST endpoints and Java classes, and depending on its design it can read or change pages, bypass the rights you configured for spaces and apps, or call into the database through XWiki's APIs. Before go-live, build an extension inventory that records, for every extension: its name and ID, the exact version, the XWiki line it targets, its license, the source it came from (XWiki Extension Repository, a GitHub project, a vendor), the maintainer, the date of the last release, and which spaces or users depend on it. Confirm the license and maintenance status with the source repository rather than assuming them, and record the answers in the inventory so the next review starts from facts.

Check compatibility before every upgrade, not after it. Compare each extension's declared compatibility with the XWiki line you plan to run, whether stable, LTS or intermediate LTS, and test the combination in a staging copy built from a recent backup of production. The staging test should exercise the functions that matter to users: pages that use the extension's macros, its scripts, any scheduled jobs and any authentication or rights behavior. Remove extensions that nobody uses, since each unused extension is attack surface that still gets patched on your schedule. Decide in writing who approves a new extension, who approves an update and who can deploy it, and separate the requester from the approver. Because open-source extensions are maintained by independent developers or communities, assign a named internal owner to each one who tracks security advisories and release notes. An extension with no owner and no recent maintainer activity is a candidate for replacement or removal.

How to verify the hardening and confirm it fails safely

How do I test that anonymous users cannot reach restricted XWiki spaces?

Log out, or open a private browser session, and request the URL of a restricted space, a restricted page and its attachments. The expected safe result is a login prompt or an access denied page, never the page content, search snippets or attachment download. Repeat the check through the reverse proxy and by direct address to the servlet container, because a proxy rule that hides a page can still leave the application reachable underneath. Also confirm that search results do not list restricted titles for a guest. Run the same checks with a user from a different group to confirm that rights are enforced per space, not only for guests. Record the results with dates and the XWiki version so the evidence can be reused after upgrades.

How do I confirm a non-programmer cannot create script macros?

Sign in as a standard user without script or programming rights and try to save a page containing a script macro, then try to edit a page that already has one. The expected safe result is that the save is refused or the macro does not execute, and the user sees a rights error. Repeat the test with a user who has edit rights on a single space to confirm that space rights do not grant scripting. Review the group memberships that hold script rights and confirm the list is short and owned by named administrators. Keep the test account in your evidence folder so the check can be repeated after every upgrade or extension change.

How do I check that failed logins are logged and rate-limited at the proxy?

Make a set of deliberately wrong password attempts against a test account from one client address and watch three places: the reverse proxy access and error logs, the servlet container logs and the XWiki logs. The expected safe result is that failed attempts are recorded with timestamps and source addresses, and that the proxy starts slowing or refusing requests above the threshold you configured. Confirm that the lockout or throttle expires as designed and that a correct login works afterwards. Confirm the logs reach your central log store, since local logs are often rotated away. Your proxy vendor's documentation describes which rate-limiting modules are available; confirm the exact directives against your proxy version.

How do I verify the database account cannot perform administrative actions?

Connect to the database with the XWiki application account and attempt actions outside its job, such as creating a database user, dropping a table outside the XWiki schema, or reading another application's schema. The expected safe result is a permission error from the database server for each attempt. The account should be able to read and write only the XWiki schema it needs, and the schema owner or administrator credentials should be stored separately and used only during install and upgrade. Also confirm that the account cannot connect from hosts other than the application servers. Your database engine's documentation lists the grant and host-restriction syntax, so confirm the exact statements for your version before running them against a production database.

How do I test that a rollback restores a known-good XWiki image?

Deploy the current image, record its tag and digest, take a database backup and a copy of the extension and configuration files, then roll back to the previous known-good tag in a test environment and confirm that the wiki starts, the expected version is reported, pages and attachments load, and users can log in. The expected safe result is that the rollback completes within a time window your team has agreed and that no data is lost or silently changed. Rehearse the restore of the database backup as well, because an image rollback alone does not reverse schema changes. Note that the official Docker image tags supplied for XWiki are 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS, so pin the exact tag you run and keep the previous one available. Confirm the database migration rules for each release before you roll back across versions.

What should an internal test plan include before I call the hardening complete?

A useful plan lists each control, the test steps, the expected safe failure, the owner, the evidence location and the date of the last successful run. Cover guest access, scripting rights, admin rights, proxy and login behavior, database privileges, backup restore, rollback, extension inventory and patch timing. Run the plan on the test environment after every change and before every production release. Keep failed tests open as tracked findings with a fix and a retest, rather than marking them as accepted by default. Internal checks catch regressions well, but they are written by the same team that built the setup, so they tend to miss assumptions. Treat the plan as a baseline for your own team to run, not as proof of security.

Should I hire an independent firm to test XWiki security?

Yes, for an environment that holds sensitive knowledge, a separate security test by an independent team is a sensible step after your internal checks pass. DeployOpen runs security testing of applications, infrastructure and AI-enabled systems, and delivers findings with fixes and a retest, but this is a separate engagement, scoped and priced in writing on its own. Ask any tester to cover authentication, authorization on each space, scripting and extension exposure, the reverse proxy and the database tier, and to test your actual deployed version. An external test report is not an audit or certification, so if a customer or regulator asks for formal assurance, confirm with the relevant assessor what evidence they will accept.

What to monitor, back up and document after hardening

This table lists the recurring operational tasks that keep a hardened XWiki secure over time, with the typical owner and frequency for each. Use it to assign responsibilities before go-live, then adjust the frequencies to your own change volume and audit obligations. The main takeaway is that hardening decays without a named owner for logs, patches, backups and documentation.

AreaWhat to doTypical ownerSuggested frequency
Access and admin logsReview Tomcat access logs and XWiki admin actions for unusual logins, guest activity and scripting-rights usePlatform or security operationsWeekly, with alerts for real-time events
Failed authenticationTrack repeated failed logins against the wiki and any SSO or OpenID Connect login flowSecurity operationsDaily automated alerting, weekly trend review
Rights changesRecord changes to global rights, space rights, groups and users, and confirm each was approvedWiki administrators with a second reviewerMonthly review of change records
Extension installs and updatesCompare installed extensions against the approved inventory and flag anything unrecordedPlatform engineeringMonthly, and before and after each upgrade
Database and Tomcat logsWatch database errors, connection failures and Tomcat exceptions that may point to misconfiguration or attackInfrastructure or database teamDaily automated alerts, weekly review
Database and attachment backupsBack up the database and the attachment store together, and test restores on a separate environmentInfrastructure or database teamBackups on a schedule set by your recovery objectives, restore tests on a regular cycle you define
Security release patch routineTrack XWiki security releases for your chosen line, apply them, and confirm the instance and extensions still workPlatform engineering with the wiki ownerMonitor releases continuously, apply on a defined internal target
Rights model documentationKeep a current description of wiki, space and page rights, groups and the reasons behind deny rulesWiki ownerUpdate with every rights design change, review quarterly
Admin runbookDocument install paths, servlet container and database configuration, backup and restore steps, and emergency contactsPlatform engineeringUpdate after every change, review at least each upgrade cycle

Can our team harden XWiki without an outside partner?

Can an in-house team harden a self-hosted XWiki on its own?

Yes, if the team already has the skills the work depends on. Hardening touches three layers: the XWiki application and its rights, the Tomcat servlet container, and the database. An in-house team needs people who can read Tomcat configuration and TLS settings, administer the chosen database, and design wiki rights for guests, scripting and administrators. It also needs someone who can review extensions and track security releases. If one of those skills is missing, the gap is usually the part that causes the most rework. Ask yourself whether you have a named owner for each layer before you decide.

What drives the cost of XWiki hardening?

Cost follows the number of layers in scope, the size and age of the wiki, and how many extensions are installed. A single instance with a few extensions and an existing reverse proxy is less work than a multi-space wiki with custom scripting, several extensions and directory integration. Cost also depends on whether hardening is a one-time project or sits alongside recurring work such as applying security releases, reviewing extensions after each upgrade and rerunning access reviews. Internal staff time is usually the largest cost in either case. Ask any provider for a quote that lists the layers, the extensions reviewed, the environments covered and the recurring activities separately.

How long does XWiki security hardening take?

Duration depends on scope, the state of the current installation and how quickly decisions are made. The main variables are the number of environments (test and production are both needed), the number of extensions to audit, how many rights decisions need stakeholder sign-off, and whether the servlet container and database already follow your baseline. Decision time often takes longer than technical work, especially for guest access and scripting rights. Confirm the timeline in the written scope, and ask which steps depend on your teams being available.

What does our team need to provide for a hardening project?

A hardening project needs decisions and access more than it needs code. Expect to provide a named owner for the wiki, a named owner for the servlet container and database, and someone who can approve rights changes for spaces that hold sensitive content. You will also need access to a test environment that mirrors production, read access to current configuration and extension lists, and a change window for production. Confirm who approves guest access, who may use scripting rights, and how exceptions are recorded before work begins.

When does XWiki SAS paid support or consulting make sense?

XWiki SAS paid support fits teams that want vendor backing for the platform itself, or that need help with an installation they cannot change safely alone. XWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan, and training at 1500 EUR per day. Support plans are priced by user tier (Starter, Basic, Business and Enterprise), and XWiki SAS states that cloud and on-premises pricing is the same. Check these tiers against your current pricing page, and confirm with XWiki SAS which services apply to your deployment before you decide.

Does XWiki hardening give us an audit report or certification?

No. Hardening produces configuration, evidence and documentation that an auditor or certification body can review, but it does not produce an audit report, attestation or certification. Those come from independent auditors and certification bodies. Evidence usually includes the documented configuration baseline, rights reviews, records of security release application, extension review records and access logs. Ask your auditor early which evidence they expect, so the hardening work produces it in the right form.

What are the most common XWiki hardening mistakes to check for?

The most common issues are leftover default settings, guest access that is wider than intended, scripting rights granted to too many users, and extensions installed without review. Other frequent gaps include a servlet container exposing administrative pages, database accounts with more privileges than the wiki needs, and security releases applied to production months after release. Check each area against a written baseline. Ask whether your team has a process to test a new security release on a copy of production before it goes live.

Who should own XWiki security after the initial hardening?

One named person should own the security baseline, and each layer should have a responsible operator. Ownership usually splits between the wiki administrators (rights, extensions, scripting), the platform team (servlet container, reverse proxy, TLS), and the database administrators (accounts, backups, patching). Assign an owner for watching security announcements and for approving extension changes. Without these named owners, security releases and extension reviews tend to slip after the project ends.

How DeployOpen scopes and hands over XWiki hardening

DeployOpen hardens self-hosted XWiki inside your own infrastructure, whether that is your cloud account, data center or air-gapped network. The work starts with a written scope that covers the XWiki line, servlet container, database, guest and scripting rights, and the extensions you run.

How we scope

  • Inventory the XWiki version, chosen release line, database variant and Tomcat setup currently in use
  • Review guest access, scripting rights, admin accounts and extension list against your access policy
  • Agree the written scope, deliverables and timeline before any changes are made to production

How we build

  • Apply the security release process and test updates in a staging copy before production
  • Lock down guest access, scripting rights and Tomcat, database and network settings to the agreed baseline
  • Test the hardened instance for common web application weaknesses and retest after each fix

How we hand over

  • Deliver a hardening record listing each setting changed, its reason and how to verify it
  • Document the patch routine, extension review steps and backup and restore checks for your team
  • Walk your administrators through the runbook so they can repeat checks without DeployOpen

How we support

  • Engagements are fixed-scope, so ongoing changes are priced from a new written scope
  • Ongoing support, upgrades and continuous testing are available as a retainer
  • Confirm with your team which support tier and response expectations apply before go-live

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.