CVE-2026-53948
Received Received - Intake
Stored XSS in Ghost CMS via Admin API File Upload

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: GitHub, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
ghost ghost From 6.19.4 (inc) to 6.21.1 (inc)
ghost ghost 6.21.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The provided information does not specify how this vulnerability impacts compliance with common standards and regulations such as GDPR or HIPAA.

Executive Summary

This vulnerability affects the Ghost content management system versions from 6.19.4 until 6.21.1. It arises because the system does not properly validate the Content-Type header supplied by clients when uploading files through the Admin API. As a result, attackers can upload files with a maliciously chosen content type that are then served from the site using S3 or GCS storage backends.

If the installation serves uploaded files from the same origin as the site, this flaw can be exploited to perform stored cross-site scripting (XSS) attacks against site visitors or staff by delivering malicious scripts through these uploaded files.

The vulnerability was fixed in version 6.21.1 of Ghost.

Impact Analysis

This vulnerability can lead to stored cross-site scripting (XSS) attacks if exploited. An attacker could upload a file with a malicious content type that, when served from the same origin as the site, executes harmful scripts in the browsers of site visitors or staff.

Such attacks can compromise user data, hijack user sessions, deface the website, or perform other malicious actions within the context of the affected site.

The overall impact is a moderate security risk, reflected by a CVSS base score of 5.4, indicating that the vulnerability requires low attack complexity but some privileges and user interaction.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Ghost to version 6.21.1 or later, where the issue has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53948. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart