Description
Ghost is a Node.js content management system. From 6.19.4 until 6.21.1, when re-rendering posts, Ghost would refetch missing image dimensions by issuing an outbound HTTP request to the URL stored on an image card — without restricting that URL to trusted image hosts. An authenticated staff user able to create or edit posts could therefore point an image card at an attacker-chosen host and cause the Ghost server to request it on their behalf, including hosts on internal networks or cloud instance metadata endpoints that would not normally be reachable from the public internet. This vulnerability is fixed in 6.21.1.
Published: 2026-06-24
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Ghost does not validate the host of an image URL used in a post; when a post is re‑rendered, a missing image size causes Ghost to fetch the image from the URL specified by the staff user. This behavior can be exploited to make Ghost initiate outbound HTTP requests to attacker‑controlled hosts, including internal network addresses or cloud metadata services. The resulting request can expose sensitive internal information or be used as a stepping stone for further attacks, but it does not provide direct code execution on the server or full system compromise. The weakness corresponds to CWE‑918: Server‑Side Request Forgery.

Affected Systems

The vulnerability affects the Ghost content management system from version 6.19.4 through 6.21.1. All installations of Ghost within this range that allow staff users to create or edit posts are potentially affected. Upgrading to Ghost 6.21.1 or later removes the flaw.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate severity. No EPSS score is currently available, so the probability of exploitation remains uncertain. Ghost is not listed in the CISA KEV catalog. The vulnerability is exploitable only by authenticated staff users with post editing privileges. An attacker would need to use those privileges to set an image URL pointing to a target internal host or metadata endpoint.

Generated by OpenCVE AI on June 24, 2026 at 19:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ghost to 6.21.1 or later, which removes the SSRF flaw
  • If an upgrade is delayed, configure Ghost to disallow external image URLs or restrict them to a trusted domain list to mitigate the risk of SSRF
  • Review staff permissions and ensure only trusted users have the ability to create or edit posts to limit the attack surface

Generated by OpenCVE AI on June 24, 2026 at 19:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 25 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Ghost
Ghost ghost
Vendors & Products Ghost
Ghost ghost

Wed, 24 Jun 2026 18:45:00 +0000

Type Values Removed Values Added
Description Ghost is a Node.js content management system. From 6.19.4 until 6.21.1, when re-rendering posts, Ghost would refetch missing image dimensions by issuing an outbound HTTP request to the URL stored on an image card — without restricting that URL to trusted image hosts. An authenticated staff user able to create or edit posts could therefore point an image card at an attacker-chosen host and cause the Ghost server to request it on their behalf, including hosts on internal networks or cloud instance metadata endpoints that would not normally be reachable from the public internet. This vulnerability is fixed in 6.21.1.
Title Ghost: Mobiledoc image-size fetch SSRF
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-25T19:57:03.997Z

Reserved: 2026-06-11T15:50:01.281Z

Link: CVE-2026-53946

cve-icon Vulnrichment

Updated: 2026-06-25T19:57:00.773Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T13:15:03Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)