Loading advisory.
Loading advisory.
Craft CMS has a potential information disclosure vulnerability in preview tokens
Craft CMS has a CSRF issue in the preview token endpoint at /actions/preview/create-token. The endpoint accepts an attacker-supplied previewToken.
Published 2026-03-10 18:22 UTC · Modified 2026-09-02 13:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| craftcms/cms | Packagist | >= 4.0.0-RC1, < 4.17.3 >= 5.0.0-RC1, < 5.9.7 versions 4.0.0, 4.0.0-RC1, 4.0.0-RC2, 4.0.0-RC3, 4.0.0.1, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.5.1, 4.0.5.2, 4.0.6, 4.1.0, 4.1.0.1, 4.1.0.2, 4.1.1, 4.1.2, 4.1.3, 4.1.4 and 368 more | 4.17.3, 5.9.7 | composer require 'craftcms/cms:>=4.17.3'composer require 'craftcms/cms:>=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.
Victim is logged in to Craft control panel.
Victim has active preview authorization in session for target content (e.g., opened/edited an entry).
The attacker must know the target’s canonicalId and public URL path of that entry.
Use any 32-character value, for example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaSend the victim a link (or top-level redirect) such as:
https://TARGET/actions/preview/create-token?elementType=craft%5Celements%5CEntry&canonicalId=123&siteId=1&previewToken=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&redirect=https%3A%2F%2FTARGET%2FIf the victim is logged in and authorized for previewElement:123, Craft creates that exact token.
curl -i 'https://TARGET/news/known-entry-slug?token=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'Expected vulnerable behavior:
Response renders preview/unpublished state (draft/provisional context), not just normal public content.
CSRF-based minting of attacker-known preview tokens.
Unauthorized access to draft/provisional/revision content via token replay.
Stealthy one-click exploitation against logged-in editors/admins.
No dependency on forwarded-host poisoning.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.002 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.002 | 0.002 | v2026.06.15 |