Craft CMS Webhooks Plugin Remote Code Execution Vulnerability
Vulnerability
A remote code execution vulnerability exists in the Webhooks for Craft CMS plugin, specifically in versions 3.0.0 prior to 3.2.0. The vulnerability arises because the plugin processes user-generated template content using Twig's renderString() function without proper sandboxing. This flaw enables authenticated users with access to the Craft control panel and the Webhooks plugin to inject Twig code that executes arbitrary PHP functions, regardless of the allowAdminChanges setting. The issue has been addressed in version 3.2.0.
Impact
Exploitation of this vulnerability allows for remote code execution on the server where Craft CMS is running.
Remediation
Users are advised to update the Webhooks for Craft CMS plugin to version 3.2.0.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
