Table of contents
On 23 November 2026, Regular Labs released Sourcerer 18.0.0, a security update for the extension that lets you use PHP and other code in Joomla articles. The update fixes CVE-2026-129425: under certain configurations, PHP code from data supplied by another extension could run on the server even if the user who saved that data was not allowed to run PHP through Sourcerer.
The vulnerability has a CVSS 4.0 score of 7.7, which is rated High. It affects a Regular Labs extension, not Joomla core. Updating Joomla itself is therefore no substitute for updating Sourcerer.
Understanding the threat: what was fixed?
When Sourcerer processed a Joomla article, it checked whether PHP was allowed to run in that article. The problem was that the same check could also apply to data inserted by another extension as the page was being generated. As a result, inserted content could be treated as just as trusted as the article itself, even though a different user had saved it.
In Sourcerer 18.0.0, inserted PHP no longer inherits the article's permissions. Updated versions of the related extensions allow Sourcerer to check separately whether the data source is trusted. This matters on sites where different team members manage articles, text replacements or snippets and have different permissions.
Who is at risk?
According to mySites.guru, the affected range is Sourcerer 13.0.0 through 17.0.1 inclusive. Version 17.0.1 was the last published release before 18.0.0. The update recommendation applies to both Free and Pro. Exploitation requires Sourcerer to be installed, a susceptible content-processing configuration, and an account that can change data displayed in an article. This does not mean that any anonymous visitor can run PHP on any site.
If the vulnerability is exploited, the code runs on the server with the permissions of the PHP process. Depending on the hosting configuration, this could allow site data or files to be read or modified. Running an affected version does not, by itself, mean the site has already been compromised.
Which extensions should you update alongside Sourcerer?
- Sourcerer 18.0.0 — the main fix: inserted PHP no longer inherits the article's permissions.
- ReReplacer 16.4.0 — records who created and modified replacement rules so Sourcerer can check who edited them.
- Snippets 11.2.0 — adds a similar check for saved snippets.
- Users Anywhere 3.1.0 — supports processing Sourcerer PHP in data saved by trusted Joomla users.
These are the first published releases with the fixes. You do not need to install extensions you are not already using. Updating Sourcerer alone closes the vulnerability, but some legitimate PHP inserts from the related extensions may stop working until those extensions are updated as well.
How to fix the issue: step-by-step instructions
- Check the installed versions. In the Joomla administrator interface, go to System → Manage → Extensions and look for Sourcerer and any related extensions you use.
- Create a backup. Back up your files and database. If important site features depend on these inserts, test the update on a copy of the site first.
- Install the updates. Go to System → Update → Extensions. Update any installed copies of ReReplacer, Snippets and Users Anywhere alongside Sourcerer or immediately before it.
- Clear the cache and check the site. Open pages that use dynamic inserts. Check them as a guest and, if the content depends on permissions, while signed in with a standard user account.
What should you check after updating?
- Make sure replacements and snippets display the expected content rather than leaving empty blocks.
- If a legitimate PHP insert disappears, check the versions of the related extensions, the Sourcerer settings and the permissions of the user who saved the insert. Do not grant every editor permission to run PHP just to restore a single block.
- Review recent changes to rules, snippets and user permissions. If you find unfamiliar inserts or suspicious file changes, preserve the logs and carry out a security audit. Installing the patch does not undo changes made before the update.
We can take care of it for you
If the steps above seem complicated, you would rather save time, or you want to keep the cost of commercial extensions down, we can help:
- Update your site to the latest version of Joomla, along with the extensions you use.
- Audit your installed extensions and remove any that are no longer in use.
- Set up site backups, including backups to remote storage.
- Install licensed versions of popular extensions.
- Put additional security measures in place to help protect your site against attacks.
- Look after your site on an ongoing basis, keeping Joomla and its extensions up to date, including commercial ones.
If your site has many PHP inserts or you are unsure whether they will still work after updating, we can back up your site, test the update on a copy, and make sure the pages you rely on still work. Find out more about our Joomla update service.

