Drupal calls its add-ons modules (and themes), and nearly all of them are contributed projects hosted on drupal.org. Each one depends on volunteers or a small company. When that maintainer moves on, your site keeps running, but nobody is left to fix security problems or keep the code compatible with new Drupal releases.
This guide covers how to spot that situation early, how to judge how risky it is, and how to replace the module without losing content or functionality.
How to find out a module is in trouble
Abandonment rarely comes with an announcement. You usually have to look for it. These are the places to check:
- The project page on drupal.org. It shows a maintenance status (such as actively maintained, minimally maintained, seeking new maintainer or no longer maintained) and a development status. It also shows whether the project is covered by the security advisory policy.
- The issue queue. Many open bug reports with no maintainer replies, or a pinned issue asking for a new maintainer, is a clear signal.
- The release history. Look at when the last stable release shipped and whether it supports the Drupal major version you run.
- Your own site’s Available updates report. Core’s Update Status module lists installed projects, newer releases and security updates. A module that is flagged as unsupported or has no release for your core version needs attention.
- Composer output. Packagist can mark a package as abandoned, and Composer will warn you about it. Running
composer auditalso reports known advisories and abandoned packages for the dependencies in your project. - The Drupal Security Team. Security advisories are published at drupal.org/security. When a maintainer cannot be reached for a serious flaw, the team can declare the project unsupported through an advisory.
Subscribe to the security advisory feed, or have someone on your team check it on a schedule. Waiting for visitors or a hosting provider to tell you is the slowest route.
How to assess the risk
Not every unmaintained module is an emergency. Work out how exposed you are before you decide how fast to move.
- Security coverage. A project that lost its security coverage, or was marked unsupported by the Security Team, is the highest priority. Nobody will publish a fix for a newly found flaw.
- What it touches. A module that handles logins, file uploads, form submissions, payments, or user permissions carries more risk than one that adds a decorative field formatter.
- Where it is exposed. A module that only runs for administrators behind a login is less exposed than one that processes anonymous visitor input on every page.
- Compatibility. Check whether it works on the Drupal major version you run now and the one you plan to move to. Drupal 7 reached end of life on 5 January 2025, so any site still on it, and every module on it, has no official security support. Drupal 10 and 11 are the supported major versions.
- Dependencies. Other modules, custom code, or configuration may rely on it. Composer can tell you which packages require it.
Write down the answers. A short note per module (what it does, who uses that feature, how bad it is if it breaks) makes the next steps much easier to agree on with your team or client.
Your options, from lightest to heaviest
Take over or adopt the project
If the code is sound and you depend on it heavily, contact the listed maintainers through the issue queue and offer to help. drupal.org has a process for requesting maintainer access to projects that have been left without one. This keeps your configuration untouched, but it commits you or your developer to ongoing upkeep.
Patch it
For a small compatibility or bug problem, a patch from the issue queue can bridge the gap. Applying patches through Composer keeps them documented and repeatable. Treat a patch as temporary: it still needs someone to maintain it after the next update.
Fork it
You can point Composer at your own repository for the module. That gives you control, but you now own security review for that code. Only choose this for a module that is small and well understood.
Replace it
Often the best answer is another module that does the same job, or a feature that has since moved into Drupal core. Search drupal.org for alternatives, compare their maintenance status and security coverage, and read their issue queues before you commit.
Rebuild the feature
If the need is narrow, a small custom module or a configuration-based solution using core features (Views, fields, the Layout Builder, or Webform if you already use it) may be safer than a dependency nobody maintains.
Replace it without losing data
Most trouble comes from removing a module before its data and settings are accounted for. Work in this order, and do all of it on a copy of the site first.
- Back up the database and files. Test that you can restore them.
- Export your configuration so you have a snapshot to compare against after the change. Configuration management is built into Drupal core.
- Inventory what the module owns. That includes content types, fields, field formatters or widgets, blocks, Views, text filters, permissions, roles, and any custom tables or stored settings.
- Install and configure the replacement on a development environment. Recreate or migrate the data it needs. Core’s migration tools or a custom script can move field values from one structure to another.
- Switch the references. Update Views, templates, blocks, and any custom code that called the old module’s services or functions. Search your codebase for its machine name.
- Check permissions and roles. A new module brings its own permissions, and they will not be granted automatically.
- Uninstall the old module through the Extend screen or with Drush before removing its code. Uninstalling lets Drupal clean up its configuration and database tables, and it will refuse if content still depends on it. Only then run
composer removeto take the code away. - Test the real journeys: forms, search, checkout or sign-up, editing, and anonymous page views. Then export configuration again and deploy through your normal process.
If the module is a blocker that you cannot replace quickly, consider disabling the exposed feature in the meantime, for example by unpublishing the form or restricting the route to staff, until the swap is ready.
Keep it from happening again
- Review installed modules on a regular schedule, and ask for each one whether it is still needed.
- Prefer modules with several active maintainers, recent releases, and security advisory coverage.
- Keep your Composer lock file in version control so you always know what is installed.
- Use the Drupal documentation for updating and uninstalling procedures that match your version.
- Read the OWASP guidance on vulnerable and outdated components when you write an upgrade policy.
Frequently asked questions
Is an old module dangerous just because it has not been updated recently?
Not necessarily. A small, stable module may simply be finished. What matters is whether it still works on your Drupal version, whether it is covered by the security advisory policy, and whether it handles sensitive or public-facing input.
Can I just leave an unsupported module installed if the site works?
You can, but you accept the risk that any newly discovered flaw will never get an official fix. If the module is exposed to visitors, plan a replacement. If it only runs for trusted administrators, you may have more time, but it will also block future core upgrades.
Should I uninstall the module first or install the replacement first?
Install and test the replacement first, move the data, and switch your references. Uninstall the old module last, after confirming nothing still depends on it. Doing it the other way round is how content and settings get lost.