Vulnerability · Published Oct 5, 2026 · Assigned by GitHub_M
CVE-2026-105644Ghost: Stored XSS via SVG Files in Content Imports
Medium 6.8
In plain English
A medium-severity cross-site scripting in Ghost from TryGhost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | ghost | 6.67.0 | GHSA-hqq2-xqr2-fmx2 |
Affected products (as reported)
Weakness: CWE-79, CWE-434 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-hqq2-xqr2-fmx2 x_refsource_CONFIRM
- https://github.com/TryGhost/Ghost/pull/31060 x_refsource_MISC
- https://github.com/TryGhost/Ghost/commit/1be06f4e95a5eb159d14abda7660e689af13cff1 x_refsource_MISC
- https://github.com/TryGhost/Ghost/releases/tag/v6.66.0 x_refsource_MISC