CVE-2026-103292: Ghost 0.5.3 before 6.50.0 Cross-Site Scripting via ghost_head

Published Oct 1, 2026
·
Updated

Ghost versions from 0.5.3 through versions prior to 6.50.0 fail to sanitize the data placed in the JSON-LD HTML tag emitted by the {{ghosthead}} helper. An authenticated user with limited privileges can inject unescaped content that is rendered as script in the published page, potentially leading to compromise of a staff user's admin session when that user views the affected page.

Affected Software

1 affected component
Ghost Ghost>=0.5.3<6.50.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ghost to a version that resolves this vulnerability.

    Fixed in 6.50.0

Event History

Oct 1, 2026
CVE Published
via MITRE·10:42 AM
Data Sourced
via MITRE·10:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and who is at risk from the resulting script execution?

An authenticated Ghost user with limited privileges can inject the unescaped content. The primary impact described is compromise of a staff user's admin session when that staff user views a published page containing the injected payload.

2

Are published pages affected, or only the administrative interface?

The vulnerable data is emitted in the JSON-LD HTML tag by the {{ghost_head}} helper and is rendered as script in the published page. A staff user can therefore be exposed by viewing an affected published page.

3

Which Ghost versions need remediation?

Ghost versions from 0.5.3 through versions before 6.50.0 are affected. Upgrade to 6.50.0 or later.

4

How can I determine whether my instance may already contain a malicious payload?

Review content created or edited by limited-privilege authenticated users for unescaped content that reaches JSON-LD output on pages using the {{ghost_head}} helper. Pay particular attention to published pages that staff users may have viewed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203