Improper Neutralization of Special Elements Used in a Template Engine Affecting craftcms/webhooks package, versions >=3.0.0-beta.1, <3.2.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-CRAFTCMSWEBHOOKS-15680045
  • published18 Mar 2026
  • disclosed16 Mar 2026
  • creditChris Alupului

Introduced: 16 Mar 2026

CVE-2026-32261  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade craftcms/webhooks to version 3.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine in the renderString function. An attacker can execute arbitrary PHP code by injecting malicious Twig template code when authenticated with access to the Craft control panel and permissions to access the relevant plugin. This is only exploitable if the attacker has the required permissions to access the plugin, regardless of the allowAdminChanges setting.

References

CVSS Base Scores

version 4.0
version 3.1