Use of Cache Containing Sensitive Information Affecting ghost package, versions >=4.0.0 <6.37.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (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 IDSNYK-JS-GHOST-17817058
  • published4 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

NewCVE-2026-53943  (opens in a new tab)
CWE-524  (opens in a new tab)

How to fix?

Upgrade ghost to version 6.37.0 or higher.

Overview

ghost is a publishing platform

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information in the handling of the x-ghost-preview header when the application is deployed behind a shared caching layer. An attacker can inject malicious content into cached responses by sending crafted requests with this header, causing subsequent visitors to receive altered frontend pages. This can lead to account takeover if the frontend and admin panel are hosted on the same domain. This is only exploitable if a shared cache is configured to serve cached content across users and the frontend and admin panel are on the same domain.

Workaround

This vulnerability can be mitigated by configuring the caching layer to bypass the cache for requests containing the x-ghost-preview header.

CVSS Base Scores

version 4.0
version 3.1