Craft has a potential information disclosure vulnerability in preview tokens
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.17.4 | 4.17.4 |
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.9.7 | 5.9.7 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-vg3j-hpm9-8v5vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-29113ghsaADVISORY
- github.com/craftcms/cms/commit/6a88468dc35a27cccc8fef254f415a447d4a07ccghsax_refsource_MISCWEB
- github.com/craftcms/cms/security/advisories/GHSA-vg3j-hpm9-8v5vghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.