{"id":"CVE-2026-53948","aliases":["CVE-2026-53948","GHSA-944x-pm95-3jpr","BIT-GHOST-2026-53948"],"related":[],"kind":"vulnerability","state":"published","title":"Ghost: File Upload Content-Type Spoofing","summary":"Ghost is a Node.js content management system. From 6.19.4 until 6.21.1, insufficient validation of the client-supplied Content-Type on Ghost's Admin API file upload endpoint allowed uploaded files to be served from the site with an attacker-chosen content type on S3/GCS storage backends. On installations that serve uploaded files from the same origin as the site, this could have been used to facilitate stored cross-site scripting against site visitors or staff. This vulnerability is fixed in 6.21.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Ghost is a Node.js content management system. From 6.19.4 until 6.21.1, insufficient validation of the client-supplied Content-Type on Ghost's Admin API file upload endpoint allowed uploaded files to be served from the site with an attacker-chosen content type on S3/GCS storage backends. On installations that serve uploaded files from the same origin as the site, this could have been used to facilitate stored cross-site scripting against site visitors or staff. This vulnerability is fixed in 6.21.1.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nInsufficient validation of the client-supplied `Content-Type` on Ghost's Admin API file upload endpoint allowed uploaded files to be served from the site with an attacker-chosen content type on S3/GCS storage backends. On installations that serve uploaded files from the same origin as the site, this could have been used to facilitate stored cross-site scripting against site visitors or staff.\n\n### Vulnerable versions\n\nThis vulnerability is present in Ghost from v6.19.4 up to v6.21.0.\n\n### Patches\n\nv6.21.1 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\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 6.19.4 hasta 6.21.1, la validación insuficiente del Content-Type proporcionado por el cliente en el endpoint de carga de archivos de la API de administración de Ghost permitió que los archivos cargados fueran servidos desde el sitio con un tipo de contenido elegido por el atacante en backends de almacenamiento S3/GCS. En instalaciones que sirven archivos cargados desde el mismo origen que el sitio, esto podría haberse utilizado para facilitar cross-site scripting almacenado contra los visitantes o el personal del sitio. Esta vulnerabilidad está corregida en 6.21.1.","source":"nvd"}],"published":"2026-06-24T18:06:30.077Z","modified":"2026-10-25T22:10:00.150Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":">= 6.19.4, < 6.21.1","status":"affected"}],"vendor":"TryGhost","product":"Ghost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.19.4","status":"affected","fixed":"6.21.1"}],"ecosystem":"npm","package":"ghost","purl":"pkg:npm/ghost","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"6.19.4","status":"affected","fixed":"6.21.1"}],"ecosystem":"Bitnami","package":"ghost","purl":"pkg:bitnami/ghost","source":"bitnami"}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-944x-pm95-3jpr","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53948","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/TryGhost/Ghost/pull/26751","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TryGhost/Ghost/commit/d659e752d6636144d75b9aa94062cdbc88a16b21","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TryGhost/Ghost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/TryGhost/Ghost/releases/tag/v6.21.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-25T13:17:17.045Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53948","url":"https://www.cve.org/CVERecord?id=CVE-2026-53948","licence":"CVE Terms of Use","modified":"2026-06-25T13:17:23.333Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-944x-pm95-3jpr","url":"https://github.com/advisories/GHSA-944x-pm95-3jpr","licence":"CC-BY-4.0","modified":"2026-08-04T21:15:19.787Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53948","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53948","licence":"Public domain","modified":"2026-10-25T22:10:00.150Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GHOST-2026-53948","url":"https://osv.dev/vulnerability/BIT-GHOST-2026-53948","licence":"Apache-2.0","modified":"2026-07-08T08:11:31.452Z"}],"updatedAt":"2026-11-25T22:59:25.728Z","epss":{"score":0.00133,"percentile":0.03046,"date":"2026-12-01T12:00:22.000Z"}}