{"id":"CVE-2021-37627","aliases":["CVE-2021-37627","GHSA-hq5m-mqmx-fw6m"],"related":[],"kind":"vulnerability","state":"published","title":"Privilege escalation via form generator","summary":"Contao is an open source CMS that allows creation of websites and scalable web applications. In affected versions it is possible to gain privileged rights in the Contao back end. Installations are only affected if they have untrusted back end users who have access to the form generator. All users are advised to update to Contao 4.4.56, 4.9.18 or 4.11.7. As a workaround users may disable the form generator or disable the login for untrusted back end users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contao is an open source CMS that allows creation of websites and scalable web applications. In affected versions it is possible to gain privileged rights in the Contao back end. Installations are only affected if they have untrusted back end users who have access to the form generator. All users are advised to update to Contao 4.4.56, 4.9.18 or 4.11.7. As a workaround users may disable the form generator or disable the login for untrusted back end users.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIt is possible for untrusted users to gain administrator rights with the form generator.\n\nInstallations are only affected if there are untrusted back end users with access to the form generator.\n\n### Patches\n\nUpdate to Contao 4.4.56, 4.9.18 or 4.11.7.\n\n### Workarounds\n\nDisable the form generator or disable the login for untrusted back end users.\n\n### References\n\nhttps://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator\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 la creación de sitios y aplicaciones web escalables. En las versiones afectadas es posible obtener derechos privilegiados en el back-end de Contao. Las instalaciones sólo están afectadas si tienen usuarios de back-end no confiables que tengan acceso al generador de formularios. Se recomienda a todos los usuarios que actualicen a Contao versiones 4.4.56, 4.9.18 o 4.11.7. Como solución, los usuarios pueden desactivar el generador de formularios o desactivar el inicio de sesión para usuarios de back end no confiables","source":"nvd"}],"published":"2021-08-11T22:50:10.000Z","modified":"2026-07-08T06:29:40.067Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"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-269"],"affected":[{"ranges":[{"version":"< 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-hq5m-mqmx-fw6m","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37627","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37627.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37627.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-37627","url":"https://www.cve.org/CVERecord?id=CVE-2021-37627","licence":"CVE Terms of Use","modified":"2024-08-04T01:23:01.173Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hq5m-mqmx-fw6m","url":"https://github.com/advisories/GHSA-hq5m-mqmx-fw6m","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:40.067Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-37627","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37627","licence":"Public domain","modified":"2026-06-17T04:00:51.570Z"}],"updatedAt":"2026-11-25T22:58:03.139Z","epss":{"score":0.01023,"percentile":0.64463,"date":"2026-12-01T12:00:22.000Z"}}