Infinite loop in Ghost - #VU166359
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service, leaving the Ghost site unresponsive to all requests.
The vulnerability exists due to a loop with an unreachable exit condition in the express-hbs theme rendering component when rendering page content containing specific text. A remote user can supply crafted content that is rendered by a theme to cause the site to stop responding, with the problem recurring whenever the affected page is rendered again.
Staff users with the Contributor role or higher can trigger the issue. Members can also trigger it on sites whose themes display member-provided data, such as a member's name; Ghost's default themes do not display this data.