CVE-2026-29113

Craft has a potential information disclosure vulnerability in preview tokens

Published Mar 10, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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.
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'}

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

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

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'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 2, 2026, 1:35 PM
Reserved
Mar 3, 2026, 9:54 PM
Status
Modified
Published
Mar 10, 2026, 8:16 PM
Modified
Sep 2, 2026, 2:17 PM