Skip to main content
VulnerabilityPublished

CVE-2026-32261: craftcms webhooks · Template Injection

Affects craftcms webhooksSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.5 High : upgrade to 3.2.0 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.2.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade webhooks and craftcms/webhooks to 3.2.0.

Affected software

ProductAffectedFixed in
craftcmswebhooksAffected
  • >=3.0.0 <3.2.0
Fixed in
  • 3.2.0
GitHubcraftcms/webhookspkg:github/craftcms/webhooksOther threatsAffected
  • <3.2.0 >=3.0.0
Fixed in
  • 3.2.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations should immediately upgrade the Craft CMS Webhooks plugin to version 3.2.0 or later, where the vulnerability is patched. Until upgrading is possible, restrict access to the Craft control panel and Webhooks plugin to only trusted and necessary users, enforcing the principle of least privilege. Implement strong authentication mechanisms, such as multi-factor authentication, to reduce the risk of credential compromise. Monitor logs for unusual template submissions or webhook configurations that could indicate exploitation attempts. Consider disabling the Webhooks plugin if it is not essential to operations. Additionally, review and harden server-side PHP configurations to limit the impact of arbitrary code execution, such as disabling dangerous PHP functions and using application-level sandboxing where feasible. Regularly audit user permissions and conduct security awareness training to prevent insider threats. Finally, maintain up-to-date backups to enable recovery in case of compromise.

Description

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.

References

Community reviews

Loading reviews…