high7.3
CVE-2026-105679
Ghost: Stored XSS via File Uploads on Local Storage
Impact
Ghost is a Node.js content management system. From 6.22.1 until 6.64.0, Ghost restricted the content type used to serve uploaded files to prevent browsers from executing them. On sites using the default local storage adapter, this restriction was not applied, so files uploaded by any staff user were served with a content type derived from their file extension. This could be used to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. This issue is fixed in version 6.64.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ghost | >= 6.22.1, < 6.64.0 | 6.64.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-gfjp-2p8f-94qv
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-gfjp-2p8f-94qv
- https://nvd.nist.gov/vuln/detail/CVE-2026-105679
- https://github.com/TryGhost/Ghost/pull/30762
- https://github.com/TryGhost/Ghost/commit/58669d5c8b898f8b69c1287c2779b29ecc7eb918
- https://github.com/TryGhost/Ghost/releases/tag/v6.64.0