CVE-2026-103292

Ghost 0.5.3 before 6.50.0 Cross-Site Scripting via ghost_head

Published Oct 1, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
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 {{ghost_head}} 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.

Analysis

AI-generated

Technical impact

Ghost versions from 0.5.3 up to but excluding 6.50.0 do not properly escape content inserted by the ghost_head helper. An authenticated user with limited privileges can inject unescaped JavaScript into the JSON-LD <script> tag that is emitted by the template. When a staff user with an admin session views the injected page, the malicious script executes in that session, potentially allowing the attacker to hijack the admin session or perform other actions on behalf of the staff user.

Affected Systems

Affected: Ghost content management system developed by TryGhost. Vulnerable releases include 0.5.3 through every build prior to version 6.50.0. Any installation using these releases without the patch is exposed to this injection vector.

Risk and Exploitability

The CVSS score of 8.6 signals a high severity vulnerability. The exploit requires an authenticated attacker, but only with low privileges, and relies on the ghost_head template helper. Because a compromised staff session compromises the entire site’s administrative control, the impact is significant. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, yet the potential for credential compromise justifies urgent attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Ghost to version 6.50.0 or later to receive the vendor patch.
  • If upgrading immediately is not possible, remove the ghost_head helper from theme templates or ensure its output is properly escaped to prevent injection of JSON-LD content.
  • Deploy a robust Content Security Policy that blocks inline scripts and restricts script sources to mitigate the impact of any remaining XSS payloads.

Generated by OpenCVE AI on October 1, 2026 at 14:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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 {{ghost_head}} 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.
Title Ghost 0.5.3 before 6.50.0 Cross-Site Scripting via ghost_head
First Time appeared Ghost
Ghost ghost
Weaknesses CWE-79
CPEs cpe:2.3:a:ghost:ghost:*:*:*:*:*:*:*:*
Vendors & Products Ghost
Ghost ghost
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 1:04 PM
Reserved
Sep 30, 2026, 10:59 AM
Status
Deferred
Published
Oct 1, 2026, 11:17 AM
Modified
Oct 1, 2026, 3:06 PM