{"id":"GHSA-hqq2-xqr2-fmx2","summary":"Ghost : Stored XSS via SVG Files in Content Imports","details":"### Impact\n\nSVG images included in content imports were stored without sanitization. An attacker who convinced an Administrator to import a crafted file could host scripts on the site's domain, possibly resulting in compromise of staff users' admin sessions.\n\n### Vulnerable versions\n\nThis vulnerability is present in Ghost from v4.0.0 up to v6.65.0.\n\n### Patches\n\nv6.67.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\n### References\n\nGhost thanks [Zhixi \"Jace\" Sun](https://github.com/manus-pi), independent security researcher, 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).","aliases":["CVE-2026-105644"],"modified":"2026-10-07T21:00:04.357850587Z","published":"2026-10-07T20:43:03Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-07T20:43:03Z","nvd_published_at":"2026-10-05T19:17:19Z","cwe_ids":["CWE-434","CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-hqq2-xqr2-fmx2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105644"},{"type":"WEB","url":"https://github.com/TryGhost/Ghost/pull/31060"},{"type":"WEB","url":"https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1"},{"type":"PACKAGE","url":"https://github.com/TryGhost/Ghost"},{"type":"WEB","url":"https://github.com/TryGhost/Ghost/releases/tag/v6.66.0"}],"affected":[{"package":{"name":"ghost","ecosystem":"npm","purl":"pkg:npm/ghost"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"6.67.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-hqq2-xqr2-fmx2/GHSA-hqq2-xqr2-fmx2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}