# CVE-2021-37626: PHP file inclusion via insert tags

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.25%, higher than 70% of CVEs (2026-12-01)
- Published: 2021-08-11T22:20:10.000Z
- Modified: 2026-07-08T06:00:07.052Z
- Also known as: GHSA-r6mv-ppjc-4hgr
- Weaknesses: CWE-94
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- contao contao: >= 4.0.0, < 4.4.56; >= 4.5.0, < 4.9.18; >= 4.10.0, < 4.11.7; from 4.4.0 before 4.4.56; from 4.9.0 before 4.9.18; from 4.11.0 before 4.11.7; 4.0.0; 4.1.0; 4.2.0; 4.3.0; 4.5.0; 4.6.0; and 3 more
- contao/core-bundle (Packagist): from 4.0.0 before 4.4.56; from 4.5.0 before 4.9.18; from 4.10.0 before 4.11.7
- contao/contao (Packagist): from 4.0.0 before 4.4.56; from 4.5.0 before 4.9.18; from 4.10.0 before 4.11.7

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr> (third-party-advisory, web)
- <https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-37626> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml> (web)
- <https://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2021-37626](https://www.cve.org/CVERecord?id=CVE-2021-37626), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-r6mv-ppjc-4hgr](https://github.com/advisories/GHSA-r6mv-ppjc-4hgr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-37626](https://nvd.nist.gov/vuln/detail/CVE-2021-37626), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37626 · Whole record: https://cve.day/CVE-2021-37626.json · Rebuilt by cve.day 2026-11-25T22:58:03.138Z
