CVE-2026-53948: CWE-434: Unrestricted Upload of File with Dangerous Type in TryGhost Ghost
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.
AI Analysis
Technical Summary
Ghost CMS versions >=6.19.4 and <6.21.1 have a CWE-434 vulnerability where the Admin API file upload endpoint does not properly validate the Content-Type header supplied by clients. This allows attackers to upload files that are served with arbitrary content types on S3/GCS storage backends. When files are served from the same origin as the site, this can facilitate stored cross-site scripting (XSS) attacks. The vulnerability has a CVSS 3.1 base score of 5.4 (medium severity) and is fixed in version 6.21.1. The product is a cloud service, so the vendor manages remediation for hosted instances.
Potential Impact
An attacker can upload files with attacker-controlled content types that are served from the site, potentially enabling stored cross-site scripting attacks against site visitors or administrative staff. This can lead to partial compromise of confidentiality and integrity via script execution in the context of the vulnerable site. Availability is not impacted. The vulnerability requires at least low privileges and user interaction.
Mitigation Recommendations
A fix is available in Ghost version 6.21.1. For cloud-hosted instances, the vendor manages remediation server-side. Users should upgrade to version 6.21.1 or later to address this vulnerability. Until patched, administrators should be cautious about file uploads and serving uploaded files from the same origin.
CVE-2026-53948: CWE-434: Unrestricted Upload of File with Dangerous Type in TryGhost Ghost
Description
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.
CVSS v3.1
Score 5.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Ghost CMS versions >=6.19.4 and <6.21.1 have a CWE-434 vulnerability where the Admin API file upload endpoint does not properly validate the Content-Type header supplied by clients. This allows attackers to upload files that are served with arbitrary content types on S3/GCS storage backends. When files are served from the same origin as the site, this can facilitate stored cross-site scripting (XSS) attacks. The vulnerability has a CVSS 3.1 base score of 5.4 (medium severity) and is fixed in version 6.21.1. The product is a cloud service, so the vendor manages remediation for hosted instances.
Potential Impact
An attacker can upload files with attacker-controlled content types that are served from the site, potentially enabling stored cross-site scripting attacks against site visitors or administrative staff. This can lead to partial compromise of confidentiality and integrity via script execution in the context of the vulnerable site. Availability is not impacted. The vulnerability requires at least low privileges and user interaction.
Mitigation Recommendations
A fix is available in Ghost version 6.21.1. For cloud-hosted instances, the vendor manages remediation server-side. Users should upgrade to version 6.21.1 or later to address this vulnerability. Until patched, administrators should be cautious about file uploads and serving uploaded files from the same origin.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T15:50:01.281Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a3c2387748d17fc4ff2f76f
Added to database: 06/24/2026, 18:35:51 UTC
Last enriched: 07/01/2026, 22:44:36 UTC
Last updated: 08/04/2026, 12:46:13 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.