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.
Published: 2026-03-10
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure of Unpublished Content
Action: Apply Patches
AI Analysis

Impact

Craft CMS contains a CSRF vulnerability in the preview token endpoint (/actions/preview/create-token). The action allows an attacker to supply a previewToken in a request without requiring a POST method or a CSRF token. A logged‑in editor who follows a crafted link may generate a preview token chosen by the attacker. The attacker can then use that token in unauthenticated GET requests to view previewed or unpublished content that the victim can otherwise see. The primary consequence is the disclosure of content that has not yet been published to the public.

Affected Systems

The vulnerability affects Craft CMS versions prior to 4.17.3 in the 4.x series and earlier than 5.9.7 in the 5.x series. All other versions that have applied the 4.17.3 or 5.9.7 patches are considered fixed.

Risk and Exploitability

The CVSS score of 2.3 indicates low severity and the EPSS score of less than 1% suggests a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a CSRF attack where a victim editor is tricked into sending a crafted request that supplies an attacker‑controlled previewToken. No authentication is required to use the token, so the attacker can retrieve the previewed or unpublished content tied to the victim’s authorized preview scope.

Generated by OpenCVE AI on September 2, 2026 at 15:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to version 4.17.3 or later for the 4.x series, or 5.9.7 or later for the 5.x series.
  • If an upgrade cannot be performed immediately, temporarily disable the /actions/preview/create-token endpoint or enforce CSRF protection to ensure the request originates from the same origin.
  • Configure the application to reject any client‑supplied previewToken values and generate tokens server‑side after verifying the user’s session.

Generated by OpenCVE AI on September 2, 2026 at 15:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vg3j-hpm9-8v5v Craft CMS has a potential information disclosure vulnerability in preview tokens
History

Wed, 02 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
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. 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.

Thu, 12 Mar 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Craftcms craft Cms
CPEs cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms craft Cms
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}


Wed, 11 Mar 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Craftcms
Craftcms craftcms
Vendors & Products Craftcms
Craftcms craftcms

Tue, 10 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 10 Mar 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Craft has a potential information disclosure vulnerability in preview tokens
Weaknesses CWE-352
References
Metrics cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Craftcms Craft Cms Craftcms
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-02T13:35:55.577Z

Reserved: 2026-03-03T21:54:06.710Z

Link: CVE-2026-29113

cve-icon Vulnrichment

Updated: 2026-03-10T20:06:12.418Z

cve-icon NVD

Status : Modified

Published: 2026-03-10T20:16:38.060

Modified: 2026-09-02T14:17:11.940

Link: CVE-2026-29113

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T15:30:17Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)