# CVE-2026-103277: Ghost oEmbed preview script injection vulnerability

Source: https://junglewise.ai/threats/cve-2026-103277-ghost-versions-from-2-5-0-before-6-34-0-contain-an-untrusted  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-01. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-103277 · Severity: high · CVSS 8.1 · Published 2026-10-01

Ghost is a content management system used to build and manage websites. Versions 2.5.0 through 6.33.x contain a vulnerability in the editor's oEmbed preview feature that fails to properly sandbox external scripts, allowing attackers to execute malicious code in the browser context of administrators. An attacker could craft a malicious oEmbed link that, when previewed by a staff member, executes arbitrary scripts with admin privileges, potentially leading to account compromise or unauthorized administrative actions.

Technologies: [TryGhost Ghost](https://junglewise.ai/threats/technologies/tryghost-ghost). Vendors: [TryGhost](https://junglewise.ai/threats/vendors/tryghost).

## Quick answers

**Is CVE-2026-103277 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-103277 being exploited in the wild.

**How severe is CVE-2026-103277?** High severity, with a CVSS score of 8.1, published 1 October 2026.

**Which products and versions are affected?** TryGhost Ghost >=2.5.0, <6.34.0.

**Is there a fix for CVE-2026-103277?** Yes: fixed in Ghost 6.34.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-103277 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-103277?** Check whether you run TryGhost Ghost at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Ghost 6.34.0

## Technical details

The vulnerability is a cross-site scripting (XSS) flaw in the oEmbed preview functionality that lacks proper input sanitization and sandboxing of externally hosted scripts. An attacker can craft malicious oEmbed content that executes JavaScript in the context of an authenticated admin session when a staff user previews the embed. No authentication is required to send the malicious oEmbed link, but user interaction (clicking preview) is required to trigger the exploit.

## Affected products

- TryGhost Ghost >=2.5.0, <6.34.0

## Timeline

- 2026-08-13: disclosed
- 2026-10-01: advisory
- 2026-08-13: patched

## References

- [https://github.com/TryGhost/Ghost/security/advisories/GHSA-8vhf-xxpj-4qrg](https://github.com/TryGhost/Ghost/security/advisories/GHSA-8vhf-xxpj-4qrg)
- [https://www.vulncheck.com/advisories/ghost-2.5.0-before-6.34.0-untrusted-script-execution-via-oembed](https://www.vulncheck.com/advisories/ghost-2.5.0-before-6.34.0-untrusted-script-execution-via-oembed)

## Related threats

- [Ghost authorization bypass in post deletion](https://junglewise.ai/threats/cve-2026-105680-ghost-is-a-node-js-content-management-system-from-5-81-0-until-6)
- [Ghost content type validation bypass in local file storage](https://junglewise.ai/threats/cve-2026-105679-ghost-is-a-node-js-content-management-system-from-6-22-1-until-6)
- [Ghost path traversal in theme translation file loading](https://junglewise.ai/threats/cve-2026-105676-ghost-is-a-node-js-content-management-system-from-1-20-0-until-6)
- [Ghost ReDoS in external media inliner](https://junglewise.ai/threats/cve-2026-105645-ghost-is-a-node-js-content-management-system-from-5-37-0-until-6)
- [Ghost stored cross-site scripting in SVG image imports](https://junglewise.ai/threats/cve-2026-105644-ghost-is-a-node-js-content-management-system-from-4-0-0-until-6)
