CVE Catalog

CVE-2026-32261

High
Published: Translated: NVD NIST

Summary

The Webhooks plugin for Craft CMS versions 3.0.0 to before 3.2.0 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, even if allowAdminChanges is set to false. The issue is patched in version 3.2.0.

Risk Assessment

An attacker can execute arbitrary PHP code on the server, leading to full compromise of the application and data. Risk remains even when admin changes are disabled.

Recommendation

Update the Webhooks plugin to version 3.2.0 or later. Restrict access to the admin panel to trusted users only.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS