{"id":"CVE-2026-53943","aliases":["CVE-2026-53943","GHSA-62q6-4hv4-vjrw","BIT-GHOST-2026-53943"],"related":[],"kind":"vulnerability","state":"published","title":"Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-24T18:13:04.114Z","modified":"2026-10-25T22:10:00.150Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-524"],"affected":[{"ranges":[{"version":">= 4.0.0, < 6.37.0","status":"affected"}],"vendor":"TryGhost","product":"Ghost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"6.37.0"}],"ecosystem":"npm","package":"ghost","purl":"pkg:npm/ghost","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"6.37.0"}],"ecosystem":"Bitnami","package":"ghost","purl":"pkg:bitnami/ghost","source":"bitnami"}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-62q6-4hv4-vjrw","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53943","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/TryGhost/Ghost","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-24T18:40:56.579Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53943","url":"https://www.cve.org/CVERecord?id=CVE-2026-53943","licence":"CVE Terms of Use","modified":"2026-06-24T18:48:56.416Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-62q6-4hv4-vjrw","url":"https://github.com/advisories/GHSA-62q6-4hv4-vjrw","licence":"CC-BY-4.0","modified":"2026-07-01T22:26:11.695Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53943","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53943","licence":"Public domain","modified":"2026-10-25T22:10:00.150Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GHOST-2026-53943","url":"https://osv.dev/vulnerability/BIT-GHOST-2026-53943","licence":"Apache-2.0","modified":"2026-07-01T22:26:11.695Z"}],"updatedAt":"2026-11-25T22:59:25.725Z","epss":{"score":0.00278,"percentile":0.2168,"date":"2026-12-01T12:00:22.000Z"}}