Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-53948: CWE-434: Unrestricted Upload of File with Dangerous Type in TryGhost Ghost

0
Medium
VulnerabilityCVE-2026-53948cvecve-2026-53948cwe-434
Published: 06/24/2026 (06/24/2026, 18:06:30 UTC)
Source: CVE Database V5
Vendor/Project: TryGhost
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

Affected versions
>=6.19.4 <6.21.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 18:50:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses