CVE-2026-32261 RCE via SSTI for users with permissions to access the Craft CMS Webhooks plugin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms/webhooks(Packagist) | = 3.0.0; = 3.0.1; = 3.0.2; = 3.0.3 +5 more | 3.2.0 | Fixed |
| craftcms/webhooks | = >= 3.0.0, < 3.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms/webhooks(Packagist) | >= 3.0.0, < 3.2.0 | 3.2.0 |
| craftcms/webhooks(Packagist) | = 3.0.0 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.0.1 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.0.2 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.0.3 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.0.4 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.0.5 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.1.0 | No fix listed |
| craftcms/webhooks(Packagist) | = 3.1.1 | No fix listed |
| craftcms/webhooks | = >= 3.0.0, < 3.2.0 | No fix listed |
References
- https://github.com/craftcms/webhooks/security/advisories/GHSA-8wg7-wm29-2rvg vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/craftcms/webhooks/commit/88344991a68b07145567c46dfd0ae3328c521f62 patch
- github.com product
- github.com