CVE-2026-53943Critical· 9.6▾ MidnightGhost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 52.8 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 4.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.2%
0.2% → 0.4%
When Ghost is behind a shared caching layer that results in cached content being shared between different visitors (e.g., Fastly, Cloudflare, nginx proxy_cache, and others), an unauthenticated user could send an x-ghost-preview header that altered the rendered frontend response. In affected cache configurations, that response could be stored and served to subsequent visitors requesting the same page, allowing cache poisoning of request-specific preview output.
When running Ghost's frontend and admin panel on the same domain this could be used to take over staff user accounts. When running these on different domains staff accounts have no exposure.
This vulnerability is present in Ghost from v4.0 up to v6.36.0.
v6.37.0 contains a fix for this issue.
For self-hosters using Docker, find Docker's official Ghost image here. Updating a Docker-based Ghost instance is documented here.
If your Ghost is a Ghost-CLI install see our documentation on updating it to the latest version here.
If you suspect a credential compromise, use the “Reset all authentication” dialogue under Settings / Danger Zone. This is available starting with Ghost v6.41.0.
At the caching layer, bypass the cache for x-ghost-preview requests.
Ghost thanks CryptoCat for disclosing this vulnerability responsibly.
If you have any questions or comments about this advisory, email us at [email protected].
ghost >= 4.0.0, <= 6.36.0Upgrade to a patched release:
ghost 6.37.0Connected by shared product, vendor, weakness, or advisory.
CVE-2026-70595Medium· 4.0Ghost is a Node.js content management system
CVE-2026-70596Medium· 4.3Ghost is a Node.js content management system
CVE-2026-53949Medium· 5.3Ghost Content API filter bypass reveals private fields
CVE-2026-70593Medium· 6.6Ghost is a Node.js content management system
CVE-2026-70594Medium· 6.7Ghost is a Node.js content management system
CVE-2026-53947Medium· 5.3Ghost: Member existence leak via magic link sign-in response