{"id":"CVE-2021-37626","published":"2021-08-11T22:20:10Z","modified":"2024-08-04T01:23:01Z","title":"PHP file inclusion via insert tags","vendor":"contao","product":"contao","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01254,"percentile":0.702,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr","tags":["x_refsource_CONFIRM"]},{"url":"https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html","tags":["x_refsource_MISC"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":14.04},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"contao","affectedVersions":[{"vendor":"contao","product":"contao","versions":[">= 4.0.0, < 4.4.56",">= 4.5.0, < 4.9.18",">= 4.10.0, < 4.11.7"]}],"affected":[{"ecosystem":"Packagist","package":"contao/core-bundle","vulnerableRanges":[">=4.0.0, <4.4.56",">=4.5.0, <4.9.18",">=4.10.0, <4.11.7"],"patched":["4.4.56","4.9.18","4.11.7"],"from":["GHSA-r6mv-ppjc-4hgr"],"provenance":"source"},{"ecosystem":"Packagist","package":"contao/contao","vulnerableRanges":[">=4.0.0, <4.4.56",">=4.5.0, <4.9.18",">=4.10.0, <4.11.7"],"patched":["4.4.56","4.9.18","4.11.7"],"from":["GHSA-r6mv-ppjc-4hgr"],"provenance":"source"}],"summary":{"text":"The flaw is a PHP file inclusion issue in the Contao open source CMS, where insert tags entered in the back end can cause PHP files to be loaded. An attacker who is an authenticated back end user with rights to edit fields shown on the front end, which is the configuration in which installations are affected, can use this to load PHP files, and no further network position or user interaction is needed beyond that account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:18:02Z"},"euvd":{"id":"EUVD-2021-1860","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-25768","published":"2020-10-07","fixed":"4.10.1","kev":false,"link":{"from":"CVE-2020-25768","to":"CVE-2021-37626","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:contao/core-bundle","fromFixed":"4.4.52","toFixed":"4.4.56","daysApart":308},{"kind":"version-step","provenance":"source","package":"Packagist:contao/contao","fromFixed":"4.4.52","toFixed":"4.4.56","daysApart":308}]}},{"cve":"CVE-2021-35210","published":"2021-06-23","fixed":"4.11.5","kev":false,"link":{"from":"CVE-2021-35210","to":"CVE-2021-37626","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:contao/core-bundle","fromFixed":"4.9.16","toFixed":"4.9.18","daysApart":49},{"kind":"version-step","provenance":"source","package":"Packagist:contao/contao","fromFixed":"4.9.16","toFixed":"4.9.18","daysApart":49}]}},{"cve":"CVE-2021-35955","published":"2021-08-12","fixed":"4.11.7","kev":false},{"cve":"CVE-2021-37626","published":"2021-08-11","fixed":"4.11.7","kev":false},{"cve":"CVE-2021-37627","published":"2021-08-11","fixed":"4.11.7","kev":false},{"cve":"CVE-2022-24899","published":"2022-05-05","fixed":"4.13.3","kev":false},{"cve":"CVE-2024-30262","published":"2024-04-09","fixed":"4.13.40","kev":false}],"package":"Packagist:contao/core-bundle"}}