Craft is a content management system (CMS). Prior to 4.17.4 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.4 and 5.9.7.
References
| Link | Resource |
|---|---|
| https://github.com/craftcms/cms/commit/6a88468dc35a27cccc8fef254f415a447d4a07cc | Patch |
| https://github.com/craftcms/cms/security/advisories/GHSA-vg3j-hpm9-8v5v | Patch Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-03-10 20:16
Updated : 2026-03-12 15:36
NVD link : CVE-2026-29113
Mitre link : CVE-2026-29113
CVE.ORG link : CVE-2026-29113
JSON object : View
Products Affected
craftcms
- craft_cms
CWE
CWE-352
Cross-Site Request Forgery (CSRF)
