CVE-2026-29113
Description
Craft is a content management system (CMS). Prior to 4.17.3 and 5.9.7, Craft CMS has a CSRF issue in the preview token endpoint at /actions/preview/create-token. The endpoint accepts an attacker-supplied previewToken. Because the action does not require POST and does not enforce a CSRF token, an attacker can force a logged-in victim editor to mint a preview token chosen by the attacker. That token can then be used by the attacker (without authentication) to access previewed/unpublished content tied to the victim’s authorized preview scope. This vulnerability is fixed in 4.17.3 and 5.9.7.
How to fix
- craftcms craft_cms4.17.4, 5.9.7 or later
- craftcms/cms4.17.3, 5.9.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms craft_cms | 4.0.0 ≤ v < 4.17.4, 5.0.0 ≤ v < 5.9.7 | 4.17.4, 5.9.7 |
| craftcms/cmsPackagist | 4.0.0-RC1 ≤ v < 4.17.3, 5.0.0-RC1 ≤ v < 5.9.7 | 4.17.3, 5.9.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.