{"id":"CVE-2026-53943","title":"Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header","summary":"Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header","severity":"critical","cvss":9.6,"cwe":["CWE-524"],"vendor":"ghost","product":"ghost","ecosystem":"npm","affected":["ghost >= 4.0.0, <= 6.36.0"],"patched":["ghost 6.37.0"],"published":"2026-07-01","updated":"2026-07-01","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-62q6-4hv4-vjrw","references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-62q6-4hv4-vjrw"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53943"},{"url":"https://github.com/advisories/GHSA-62q6-4hv4-vjrw"}],"tags":["ghsa","npm"],"epss":0.00446,"epssPercentile":0.36098,"ingestedAt":"2026-07-01T22:17:35.209Z","slug":"CVE-2026-53943","body":"## Overview\n\n### Impact\n\nWhen 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. \n\nWhen 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. \n\n### Vulnerable versions\n\nThis vulnerability is present in Ghost from v4.0 up to v6.36.0.\n\n### Patches\n\nv6.37.0 contains a fix for this issue.\n\n### How to update\n\nFor self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost).\n\nIf your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update).\n\nIf you suspect a credential compromise, use the “Reset all authentication” dialogue under Settings / Danger Zone. This is available starting with Ghost v6.41.0. \n\n### Workarounds\n\nAt the caching layer, bypass the cache for `x-ghost-preview` requests. \n\n### References\n\nGhost thanks [CryptoCat](https://linkedin.com/in/cryptocat) for disclosing this vulnerability responsibly.\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).\n\n## Affected packages\n\n- `ghost >= 4.0.0, <= 6.36.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `ghost 6.37.0`","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":52.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}