CVE-2026-53946

Ghost: Mobiledoc image-size fetch SSRF

Published Jun 24, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-g366-23fw-ggp6 Ghost: Mobiledoc image-size fetch SSRF
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Ghost
Ghost ghost
Vendors & Products Ghost
Ghost ghost
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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 7:57 PM
Reserved
Jun 11, 2026, 3:50 PM
Status
Deferred
Published
Jun 24, 2026, 7:17 PM
Modified
Oct 25, 2026, 10:10 PM