{"id":"CVE-2026-32261","aliases":["CVE-2026-32261","GHSA-8wg7-wm29-2rvg"],"related":[],"kind":"vulnerability","state":"published","title":"RCE via SSTI for users with permissions to access the Craft CMS Webhooks plugin","summary":"Webhooks for Craft CMS plugin adds the ability to manage “webhooks” in Craft CMS, which will send GET or POST requests when certain events occur. From version 3.0.0 to before version 3.2.0, the Webhooks plugin renders user-supplied template content through Twig’s renderString() function without sandbox protection. This allows an authenticated user with access to the Craft control panel and permissions to access the Webhooks plugin to inject Twig template code that calls arbitrary PHP functions. This is possible even if allowAdminChanges is set to false. This issue has been patched in version 3.2.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Webhooks for Craft CMS plugin adds the ability to manage “webhooks” in Craft CMS, which will send GET or POST requests when certain events occur. From version 3.0.0 to before version 3.2.0, the Webhooks plugin renders user-supplied template content through Twig’s renderString() function without sandbox protection. This allows an authenticated user with access to the Craft control panel and permissions to access the Webhooks plugin to inject Twig template code that calls arbitrary PHP functions. This is possible even if allowAdminChanges is set to false. This issue has been patched in version 3.2.0.","source":"cvelist"},{"lang":"en","text":"The Webhooks plugin renders user-supplied template content through Twig’s `renderString()` function without sandbox protection. This allows an authenticated user with access to the Craft control panel and permissions to access the Webhooks plugin to inject Twig template code that calls arbitrary PHP functions.\n\nThis is possible even if `allowAdminChanges` is set to `false`.\n\nAffected users should update to version 3.2.0 to mitigate the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El plugin Webhooks para Craft CMS añade la capacidad de gestionar 'webhooks' en Craft CMS, que enviará solicitudes GET o POST cuando ocurran ciertos eventos. Desde la versión 3.0.0 hasta antes de la versión 3.2.0, el plugin Webhooks renderiza contenido de plantilla proporcionado por el usuario a través de la función renderString() de Twig sin protección de sandbox. Esto permite a un usuario autenticado con acceso al panel de control de Craft y permisos para acceder al plugin Webhooks inyectar código de plantilla Twig que llama a funciones PHP arbitrarias. Esto es posible incluso si allowAdminChanges está configurado como false. Este problema ha sido parcheado en la versión 3.2.0.","source":"nvd"}],"published":"2026-03-16T18:11:23.000Z","modified":"2026-06-17T10:35:26.663Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.2.0","status":"affected"}],"vendor":"craftcms","product":"webhooks","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.2.0"}],"ecosystem":"Packagist","package":"craftcms/webhooks","purl":"pkg:composer/craftcms/webhooks","source":"ghsa"}],"references":[{"url":"https://github.com/craftcms/webhooks/security/advisories/GHSA-8wg7-wm29-2rvg","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/webhooks/commit/88344991a68b07145567c46dfd0ae3328c521f62","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32261","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/webhooks","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-16T19:26:49.954Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32261","url":"https://www.cve.org/CVERecord?id=CVE-2026-32261","licence":"CVE Terms of Use","modified":"2026-03-16T19:27:05.370Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8wg7-wm29-2rvg","url":"https://github.com/advisories/GHSA-8wg7-wm29-2rvg","licence":"CC-BY-4.0","modified":"2026-03-16T22:01:25.666Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32261","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32261","licence":"Public domain","modified":"2026-06-17T10:35:26.663Z"}],"updatedAt":"2026-11-25T22:59:16.025Z","epss":{"score":0.0043,"percentile":0.39131,"date":"2026-12-01T12:00:22.000Z"}}