High severity7.2NVD Advisory· Published Aug 11, 2021· Updated Jun 17, 2026
CVE-2021-37626
CVE-2021-37626
Description
Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
contao/core-bundlePackagist | >= 4.0.0, < 4.4.56 | 4.4.56 |
contao/core-bundlePackagist | >= 4.5.0, < 4.9.18 | 4.9.18 |
contao/core-bundlePackagist | >= 4.10.0, < 4.11.7 | 4.11.7 |
contao/contaoPackagist | >= 4.0.0, < 4.4.56 | 4.4.56 |
contao/contaoPackagist | >= 4.5.0, < 4.9.18 | 4.9.18 |
contao/contaoPackagist | >= 4.10.0, < 4.11.7 | 4.11.7 |
Affected products
13>= 4.0.0, < 4.4.56+ 10 more
- (no CPE)range: >= 4.0.0, < 4.4.56
- cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*range: >=4.4.0,<4.4.56
- cpe:2.3:a:contao:contao:4.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.7.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.8.0:*:*:*:*:*:*:*
- cpe:2.3:a:contao:contao:4.10.0:*:*:*:*:*:*:*
- ghsa-coords2 versions
>= 4.0.0, < 4.4.56+ 1 more
- (no CPE)range: >= 4.0.0, < 4.4.56
- (no CPE)range: >= 4.0.0, < 4.4.56
Patches
Vulnerability mechanics
References
6- contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.htmlnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-r6mv-ppjc-4hgrghsaADVISORY
- github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgrnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-37626ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yamlghsaWEB
News mentions
0No linked articles in our index yet.