9.6critical
Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header
- Severity
- 9.6critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-62q6-4hv4-vjrwBIT-GHOST-2026-53943
Description
Ghost is a Node.js content management system. From until 6.37.0, when Ghost is behind a shared caching layer that results in cached content being shared between different visitors, 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 fixed in 6.37.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| TryGhost Ghost | >= 4.0.0, < 6.37.0 | CVE List |
| ghost (npm) | from 4.0.0 before 6.37.0 | GitHub Advisory Database |
| ghost (Bitnami) | from 4.0.0 before 6.37.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Ghost is a Node.js content management system. From until 6.37.0, when Ghost is behind a shared caching layer that results in cached content being shared between different visitors, 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 fixed in 6.37.0.
GitHub Advisory Database
Impact
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.
Vulnerable versions
This vulnerability is present in Ghost from v4.0 up to v6.36.0.
Patches
v6.37.0 contains a fix for this issue.
How to update
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.
Workarounds
At the caching layer, bypass the cache for x-ghost-preview requests.
References
Ghost thanks CryptoCat for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
NVD (es)
Ghost es un sistema de gestión de contenido Node.js. Desde hasta 6.37.0, cuando Ghost está detrás de una capa de caché compartida que resulta en que el contenido en caché se comparte entre diferentes visitantes, un usuario no autenticado podría enviar una cabecera x-ghost-preview que alteraba la respuesta renderizada del frontend. En configuraciones de caché afectadas, esa respuesta podría ser almacenada y servida a visitantes posteriores que soliciten la misma página, permitiendo el envenenamiento de caché de la salida de vista previa específica de la solicitud. Cuando se ejecuta el frontend y el panel de administración de Ghost en el mismo dominio, esto podría usarse para tomar el control de cuentas de usuario del personal. Cuando se ejecutan estos en diferentes dominios, las cuentas del personal no tienen exposición. Esta vulnerabilidad está corregida en 6.37.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53943 changed 2026-06-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-62q6-4hv4-vjrw changed 2026-07-01 | CC-BY-4.0 |
| NVD | CVE-2026-53943 changed 2026-10-25 | Public domain |
| Bitnami Vulnerability Database | BIT-GHOST-2026-53943 changed 2026-07-01 | Apache-2.0 |