CVE-2026-103277

Ghost 2.5.0 before 6.34.0 Untrusted Script Execution via oEmbed

Published Oct 1, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
Ghost versions from 2.5.0 before 6.34.0 contain an untrusted script execution vulnerability in the oEmbed preview feature that fails to sandbox externally hosted scripts. Attackers can craft malicious oEmbed content to execute scripts in the context of a staff user's admin session, potentially compromising administrative access.

Analysis

AI-generated

Technical impact

Ghost versions from 2.5.0 through 6.33.x contain an untrusted script execution flaw in the oEmbed preview feature that does not sandbox externally hosted scripts. When an attacker supplies malicious oEmbed content, the embedded script runs in the context of an authenticated staff user’s admin session, giving the attacker the ability to execute arbitrary JavaScript and potentially compromise administrative access.

Affected Systems

The affected product is Ghost released by TryGhost, encompassing all public releases from 2.5.0 up to but not including 6.34.0.

Risk and Exploitability

The vulnerability has a CVSS score of 8.6, indicating high severity. EPSS data is not available and the flaw is not listed in the CISA KEV catalog. An attacker can exploit the issue by crafting and distributing malicious oEmbed content, likely through third‑party services or content editors, resulting in script execution that could lead to privilege escalation or arbitrary code execution within the admin environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Ghost to version 6.34.0 or a later release that resolves the sandboxing issue in the oEmbed preview.
  • Temporarily disable the oEmbed preview feature in Ghost’s configuration until the update is applied to block the execution of untrusted scripts.
  • Implement web‑application‑level or WAF rules that reject or sanitize untrusted oEmbed content and monitor administrative sessions for irregular script activity.

Generated by OpenCVE AI on October 1, 2026 at 14:42 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 2.5.0 before 6.34.0 contain an untrusted script execution vulnerability in the oEmbed preview feature that fails to sandbox externally hosted scripts. Attackers can craft malicious oEmbed content to execute scripts in the context of a staff user's admin session, potentially compromising administrative access.
Title Ghost 2.5.0 before 6.34.0 Untrusted Script Execution via oEmbed
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.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/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:35 PM
Reserved
Sep 30, 2026, 10:59 AM
Status
Deferred
Published
Oct 1, 2026, 11:17 AM
Modified
Oct 1, 2026, 3:06 PM