CVE-2026-53948
MEDIUM 5.4CVSS 3.1Ghost: File Upload Content-Type Spoofing
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.
- Published
- 24 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-434
- Also known as
- BIT-ghost-2026-53948GHSA-944x-pm95-3jpr
- Sources
- NVDJSONOSV GHSA-944x-pm95-3jprJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | ghost | >= 6.19.4, < 6.21.1 | 6.21.1 |
References
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-944x-pm95-3jpr · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-53948 · ADVISORY
- https://github.com/TryGhost/Ghost/pull/26751 · WEB
- https://github.com/TryGhost/Ghost/commit/d659e752d6636144d75b9aa94062cdbc88a16b21 · WEB
- https://github.com/TryGhost/Ghost · PACKAGE
- https://github.com/TryGhost/Ghost/releases/tag/v6.21.1 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Aug 2026)