Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-29113

CVE-2026-29113: Craft CMS has a potential information disclosure vulnerability in preview tokens

March 10, 2026 (updated September 2, 2026)

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.


References

  • github.com/advisories/GHSA-vg3j-hpm9-8v5v
  • github.com/craftcms/cms/commit/6a88468dc35a27cccc8fef254f415a447d4a07cc
  • github.com/craftcms/cms/security/advisories/GHSA-vg3j-hpm9-8v5v
  • nvd.nist.gov/vuln/detail/CVE-2026-29113

Code Behaviors & Features

Detect and mitigate CVE-2026-29113 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.17.3, all versions starting from 5.0.0-RC1 before 5.9.7

Fixed versions

  • 4.17.3
  • 5.9.7

Solution

Upgrade to versions 4.17.3, 5.9.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/craftcms/cms/CVE-2026-29113.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:59 +0000.