{"id":"CVE-2021-37626","aliases":["CVE-2021-37626","GHSA-r6mv-ppjc-4hgr"],"related":[],"kind":"vulnerability","state":"published","title":"PHP file inclusion via insert tags","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIt is possible for untrusted users to load arbitrary PHP files via insert tags.\n\nInstallations are only affected if there are untrusted back end users.\n\n### Patches\n\nUpdate to Contao 4.4.56, 4.9.18 or 4.11.7.\n\n### Workarounds\n\nDisable the login for untrusted back end users.\n\n### References\n\nhttps://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Contao es un CMS de código abierto que permite crear sitios y aplicaciones web escalables. En las versiones afectadas es posible cargar archivos PHP introduciendo etiquetas de inserción en el back-end de Contao. Las instalaciones sólo están afectadas si presentan usuarios de back end no confiables que tengan derechos para modificar los campos que se muestran en el front end. Actualice a Contao versiones 4.4.56, 4.9.18 o 4.11.7 para resolverlo. Si no puede actualizar, desactive el inicio de sesión para usuarios de back end no confiables","source":"nvd"}],"published":"2021-08-11T22:20:10.000Z","modified":"2026-07-08T06:00:07.052Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","score":6.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.4.56","status":"affected"},{"version":">= 4.5.0, < 4.9.18","status":"affected"},{"version":">= 4.10.0, < 4.11.7","status":"affected"}],"vendor":"contao","product":"contao","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.4.56"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.9.18"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.10.0","status":"affected","fixed":"4.11.7"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.4.56"}],"ecosystem":"Packagist","package":"contao/contao","purl":"pkg:composer/contao/contao","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.9.18"}],"ecosystem":"Packagist","package":"contao/contao","purl":"pkg:composer/contao/contao","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.10.0","status":"affected","fixed":"4.11.7"}],"ecosystem":"Packagist","package":"contao/contao","purl":"pkg:composer/contao/contao","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.4.0","fixed":"4.4.56"},{"status":"affected","introduced":"4.9.0","fixed":"4.9.18"},{"status":"affected","introduced":"4.11.0","fixed":"4.11.7"},{"status":"affected","version":"4.0.0"},{"status":"affected","version":"4.1.0"},{"status":"affected","version":"4.2.0"},{"status":"affected","version":"4.3.0"},{"status":"affected","version":"4.5.0"},{"status":"affected","version":"4.6.0"},{"status":"affected","version":"4.7.0"},{"status":"affected","version":"4.8.0"},{"status":"affected","version":"4.10.0"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37626","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-37626","url":"https://www.cve.org/CVERecord?id=CVE-2021-37626","licence":"CVE Terms of Use","modified":"2024-08-04T01:23:01.250Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r6mv-ppjc-4hgr","url":"https://github.com/advisories/GHSA-r6mv-ppjc-4hgr","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:07.052Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-37626","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37626","licence":"Public domain","modified":"2026-06-17T04:00:51.453Z"}],"updatedAt":"2026-11-25T22:58:03.138Z","epss":{"score":0.01254,"percentile":0.70313,"date":"2026-12-01T12:00:22.000Z"}}