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.
Published: 2026-10-01
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Cross-Site Scripting that can hijack staff admin sessions
Action: Immediate Patch
AI Analysis

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.

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

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

History

Thu, 01 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 01 Oct 2026 11:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-01T13:04:08.126Z

Reserved: 2026-09-30T10:59:26.443Z

Link: CVE-2026-103292

cve-icon Vulnrichment

Updated: 2026-10-01T13:02:10.547Z

cve-icon NVD

Status : Deferred

Published: 2026-10-01T11:17:25.847

Modified: 2026-10-01T15:06:17.330

Link: CVE-2026-103292

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T14:45:10Z

Weaknesses
  • CWE-79

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