Arbitrary File Upload Affecting ghost package, versions >=6.22.1 <6.64.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GHOST-21693954
  • published24 Oct 2026
  • disclosed7 Oct 2026
  • creditevertrustai, Enis Atılgan, Doan Manh Duc, HARSHIT GUPTA, 5255fgh

Introduced: 7 Oct 2026

NewCVE-2026-104411  (opens in a new tab)
CVE-2026-105679  (opens in a new tab)
CWE-434  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade ghost to version 6.64.0 or higher.

Overview

ghost is a publishing platform

Affected versions of this package are vulnerable to Arbitrary File Upload via incorrect Content-Type headers served by LocalFilesStorage for user-uploaded files. The local file storage adapter allows express.static to derive content types from file extensions, meaning uploaded files such as .html or .svg are served with browser-executable MIME types (e.g. text/html, image/svg+xml) rather than inert types. An authenticated attacker can upload a file containing malicious script content and then trick a victim into visiting the served URL, causing the browser to execute the script in the context of the Ghost origin.

CVSS Base Scores

version 4.0
version 3.1