medium5.4
CVE-2026-53948
Ghost is a Node.js content management system.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ghost | >= 6.19.4, < 6.21.1 | 6.21.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-944x-pm95-3jpr
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-944x-pm95-3jpr
- https://nvd.nist.gov/vuln/detail/CVE-2026-53948
- https://github.com/TryGhost/Ghost/pull/26751
- https://github.com/TryGhost/Ghost/commit/d659e752d6636144d75b9aa94062cdbc88a16b21
- https://github.com/TryGhost/Ghost/releases/tag/v6.21.1