Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ghost
  4. ›
  5. CVE-2026-53948

CVE-2026-53948: Ghost: File Upload Content-Type Spoofing

August 4, 2026

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.

References

  • github.com/TryGhost/Ghost/commit/d659e752d6636144d75b9aa94062cdbc88a16b21
  • github.com/TryGhost/Ghost/pull/26751
  • github.com/TryGhost/Ghost/releases/tag/v6.21.1
  • github.com/TryGhost/Ghost/security/advisories/GHSA-944x-pm95-3jpr
  • github.com/advisories/GHSA-944x-pm95-3jpr
  • nvd.nist.gov/vuln/detail/CVE-2026-53948

Code Behaviors & Features

Detect and mitigate CVE-2026-53948 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.19.4 before 6.21.1

Fixed versions

  • 6.21.1

Solution

Upgrade to version 6.21.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/ghost/CVE-2026-53948.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:31 +0000.