Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-53946 BIT-ghost-2026-53946EUVD-2026-39023GHSA-g366-23fw-ggp6

Ghost: Mobiledoc image-size fetch SSRF

Published Jun 24, 2026 · Updated Jun 25, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
TryGhost Ghost >= 6.19.4, < 6.21.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ghost >= 6.19.4, < 6.21.2 6.21.2 GHSA-g366-23fw-ggp6

References