CVE-2026-53948: CWE-434: Unrestricted Upload of File with Dangerous Type in TryGhost Ghost
Ghost versions from 6.19.4 up to but not including 6.21.1 contain a vulnerability where insufficient validation of client-supplied Content-Type headers on the Admin API file upload endpoint allows uploaded files to be served with attacker-chosen content types on S3/GCS storage backends. This could enable stored cross-site scripting (XSS) attacks if uploaded files are served from the same origin as the site. The vulnerability is fixed in version 6.21.1.
AI Analysis
Technical Summary
Ghost, a Node.js content management system, had a vulnerability (CWE-434) in versions 6.19.4 through 6.21.0 where the Admin API file upload endpoint did not properly validate the Content-Type header supplied by clients. This allowed attackers to upload files that could be served with arbitrary content types on S3 or Google Cloud Storage backends. When installations serve uploaded files from the same origin as the site, this flaw could facilitate stored cross-site scripting attacks against site visitors or staff. The issue is resolved in Ghost version 6.21.1.
Potential Impact
An attacker could upload files with malicious content that are served with attacker-chosen content types, potentially enabling stored cross-site scripting attacks on users and administrators of affected Ghost sites. This could lead to unauthorized script execution in the context of the vulnerable site, impacting confidentiality and integrity. Availability is not affected.
Mitigation Recommendations
A fix is available in Ghost version 6.21.1. Since this is a cloud service, the vendor manages remediation for the cloud-hosted service; users should verify that their installations are updated to 6.21.1 or later. Patch status is confirmed by the vendor advisory stating the vulnerability is fixed in 6.21.1.
CVE-2026-53948: CWE-434: Unrestricted Upload of File with Dangerous Type in TryGhost Ghost
Description
Ghost versions from 6.19.4 up to but not including 6.21.1 contain a vulnerability where insufficient validation of client-supplied Content-Type headers on the Admin API file upload endpoint allows uploaded files to be served with attacker-chosen content types on S3/GCS storage backends. This could enable stored cross-site scripting (XSS) attacks if uploaded files are served from the same origin as the site. The vulnerability is fixed in version 6.21.1.
CVSS v3.1
Score 5.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Ghost, a Node.js content management system, had a vulnerability (CWE-434) in versions 6.19.4 through 6.21.0 where the Admin API file upload endpoint did not properly validate the Content-Type header supplied by clients. This allowed attackers to upload files that could be served with arbitrary content types on S3 or Google Cloud Storage backends. When installations serve uploaded files from the same origin as the site, this flaw could facilitate stored cross-site scripting attacks against site visitors or staff. The issue is resolved in Ghost version 6.21.1.
Potential Impact
An attacker could upload files with malicious content that are served with attacker-chosen content types, potentially enabling stored cross-site scripting attacks on users and administrators of affected Ghost sites. This could lead to unauthorized script execution in the context of the vulnerable site, impacting confidentiality and integrity. Availability is not affected.
Mitigation Recommendations
A fix is available in Ghost version 6.21.1. Since this is a cloud service, the vendor manages remediation for the cloud-hosted service; users should verify that their installations are updated to 6.21.1 or later. Patch status is confirmed by the vendor advisory stating the vulnerability is fixed in 6.21.1.
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: 06/24/2026, 18:50:54 UTC
Last updated: 06/24/2026, 18:50:54 UTC
Views: 3
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.