# CVE-2026-105643: Ghost stored cross-site scripting via embed card preview

Source: https://junglewise.ai/threats/cve-2026-105643-ghost-is-a-node-js-content-management-system-from-version-6-34-0  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-05. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-105643 · Severity: high · CVSS 7.3 · Published 2026-10-05

Ghost is a Node.js content management system used to publish and manage web content. A vulnerability in versions 6.34.0 through 6.66.0 allows staff users, including those with limited permissions, to embed malicious scripts in posts that execute when other staff members open those posts in the editor, potentially giving attackers access to admin sessions and sensitive data.

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

## Quick answers

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

**How severe is CVE-2026-105643?** High severity, with a CVSS score of 7.3, published 5 October 2026.

**Which products and versions are affected?** Ghost 6.34.0 to 6.66.0; ghost (npm) >= 6.34.0, < 6.67.0, SEMVER:introduced=6.34.0,fixed=6.67.0.

**Is there a fix for CVE-2026-105643?** Yes. ghost (npm): upgrade to 6.67.0 or later. Until then: Self-hosted Ghost instances should ensure the security.embedPreviewUrl configuration option is left at its default value to disable unsafe embed previews. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

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

**Am I affected by CVE-2026-105643?** Check whether you run Ghost or ghost (npm) 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

- ghost (npm): upgrade to 6.67.0 or later

  ```sh
  npm install ghost@6.67.0
  ```


Self-hosted Ghost instances should ensure the security.embedPreviewUrl configuration option is left at its default value to disable unsafe embed previews.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in the embed card preview feature of Ghost, which fails to properly sanitize user input before rendering it. An attacker with staff privileges can inject malicious scripts into post content via embed cards; when another staff member opens the affected post in the editor, the script executes in their browser context with their privileges. This could lead to session hijacking or privilege escalation.

## Affected products

- Ghost Ghost 6.34.0 to 6.66.0

## Identifiers

- CVE-2026-105643
- GHSA-69qc-f5m6-889c

## Timeline

- 2026-10-01: disclosed
- 2026-10-05: advisory
- 2026-10-05: patched

## References

- [https://github.com/TryGhost/Ghost/security/advisories/GHSA-69qc-f5m6-889c](https://github.com/TryGhost/Ghost/security/advisories/GHSA-69qc-f5m6-889c)

## Related threats

- [Ghost: Path Traversal Vulnerability in Ghost ImageSize Service](https://junglewise.ai/threats/cve-2026-105683-ghost-is-a-node-js-content-management-system-from-6-14-0-until-6)
- [Ghost: Server-Side Request Forgery in Webhook Trigger](https://junglewise.ai/threats/cve-2026-105682-ghost-is-a-node-js-content-management-system-from-1-18-0-until-6)
- [Ghost input validation bypass in comments access control](https://junglewise.ai/threats/cve-2026-105681-ghost-is-a-node-js-content-management-system-from-5-9-0-until-6)
- [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)
