---
id: CVE-2026-29113
title: Craft is a content management system (CMS)
summary: >-
  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 …
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'
cwe:
  - CWE-352
vendor: craftcms
product: craft_cms
affected:
  - 'craft_cms >= 4.0.0, < 4.17.4'
  - 'craft_cms >= 5.0.0, < 5.9.7'
patched:
  - craft_cms 5.9.7
published: '2026-03-10'
updated: '2026-09-02'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-29113'
references:
  - url: >-
      https://github.com/craftcms/cms/commit/6a88468dc35a27cccc8fef254f415a447d4a07cc
    label: security-advisories@github.com
  - url: 'https://github.com/craftcms/cms/security/advisories/GHSA-vg3j-hpm9-8v5v'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00175
epssPercentile: 0.06116
ingestedAt: '2026-09-02T14:45:28.471Z'
---

## Overview

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.

## Affected

- `craft_cms >= 4.0.0, < 4.17.4`
- `craft_cms >= 5.0.0, < 5.9.7`

## Remediation

Upgrade past the affected range:

- `craft_cms 5.9.7`
