CVE-2021-37626 json
PHP file inclusion via insert tags
published 5y ago modified 4mo ago also GHSA-r6mv-ppjc-4hgr , EUVD-2021-1860
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist contao/core-bundle 4.4.56, 4.9.18, 4.11.7
- packagist contao/contao 4.4.56, 4.9.18, 4.11.7
- contao contao 4.4.56, 4.9.18, 4.11.7
Is CVE-2021-37626 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | contao/core-bundle | >=4.0.0, <4.4.56 >=4.5.0, <4.9.18 >=4.10.0, <4.11.7 |
4.4.56 4.9.18 4.11.7 |
| packagist | contao/contao | >=4.0.0, <4.4.56 >=4.5.0, <4.9.18 >=4.10.0, <4.11.7 |
4.4.56 4.9.18 4.11.7 |
Affected products
- contao contao
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
contao.org
/en/security-advisories/php-file-inclusion-via-insert-tags.html
web, vendor-advisory
-
github.com
/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37626
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml
web
-
github.com
/contao/contao
package
Sources
- CVE List CVE-2021-37626
- GitHub Advisory GHSA-r6mv-ppjc-4hgr
- NVD CVE-2021-37626
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.