{"id":"CVE-2026-105644","published":"2026-10-05T18:53:08Z","modified":"2026-10-06T14:52:36Z","title":"Ghost: Stored XSS via SVG Files in Content Imports","vendor":"TryGhost","product":"Ghost","tier":"tail","description":{"text":"Ghost is a Node.js content management system. From 4.0.0 until 6.67.0, SVG 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. This issue is fixed in version 6.67.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00415,"percentile":0.27391,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-hqq2-xqr2-fmx2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TryGhost/Ghost/pull/31060","tags":["x_refsource_MISC"]},{"url":"https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","tags":["x_refsource_MISC"]},{"url":"https://github.com/TryGhost/Ghost/releases/tag/v6.66.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":5.48},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"tryghost","affectedVersions":[{"vendor":"TryGhost","product":"Ghost","versions":[">= 4.0.0, < 6.67.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-06T14:36:07.210854Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ghost","vulnerableRanges":[">=4.0.0, <6.67.0"],"patched":["6.67.0"],"from":["GHSA-hqq2-xqr2-fmx2"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the content import functionality of Ghost, a Node.js content management system, where SVG images included in imported content are stored without sanitization. An attacker who can get an Administrator to import a crafted file, which requires user interaction and no prior authentication from the attacker, can host scripts on the site's domain and potentially compromise staff users' admin sessions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:39Z"},"euvd":{"id":"EUVD-2026-92633","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tryghost-ghost-cve-2026-104413","children":[{"from":"CVE-2026-105644","to":"CVE-2026-105645","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ghost/core/core/server/data/importer/handlers/image.js","ghost/core/core/server/services/media-inliner/external-media-inliner.js"],"commits":["https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","https://github.com/TryGhost/Ghost/commit/88ae6d6d56f8a239cb38a8c89de02f034f50e2ce"],"basis":"shared function","functions":["ExternalMediaInliner"]}]},{"from":"CVE-2026-105644","to":"CVE-2026-105646","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ghost/core/core/server/data/importer/handlers/image.js","ghost/core/core/server/services/media-inliner/external-media-inliner.js"],"commits":["https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","https://github.com/TryGhost/Ghost/commit/88ae6d6d56f8a239cb38a8c89de02f034f50e2ce"],"basis":"shared function","functions":["ExternalMediaInliner"]}]},{"from":"CVE-2026-105644","to":"CVE-2026-105647","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ghost/core/core/server/services/oembed/oembed-service.js"],"commits":["https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","https://github.com/TryGhost/Ghost/commit/3f8594eb53de883ac017545c358f59039cb152de"],"basis":"shared function","functions":["OEmbedService"]}]},{"from":"CVE-2026-105644","to":"CVE-2026-105649","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ghost/core/core/server/web/api/middleware/upload.js"],"commits":["https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","https://github.com/TryGhost/Ghost/commit/80686226d23df56749f6b7ebb484850a8eba8072"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.57,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2026-105644","to":"CVE-2026-105650","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ghost/core/core/server/services/oembed/oembed-service.js"],"commits":["https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","https://github.com/TryGhost/Ghost/commit/d23d552e257e2696c60293bc5cd7898a49d6bd1f"],"basis":"shared function","functions":["OEmbedService"]}]},{"from":"CVE-2026-105644","to":"CVE-2026-105651","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ghost/core/core/server/services/oembed/oembed-service.js"],"commits":["https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1","https://github.com/TryGhost/Ghost/commit/b41fe3f2c399cef058e6b487782a0b2263e86c03"],"basis":"shared function","functions":["OEmbedService"]}]}]}}