Cross-Site Scripting (XSS) in ghost (CVE-2026-105643)
Summary
Cross-site scripting in ghost (CVE-2026-105643). Confidential information can be exposed externally. Exploitable via security.embedPreviewUrl. Mitigation: upgrade to 6.67.0 or later.
Original description
The description as published by the source.
Impact
Embed cards in the Ghost editor could be used to bypass the fix for GHSA-8vhf-xxpj-4qrg. Any staff user, including Contributors, could store scripts in post content that ran when another staff user opened the post in the editor, possibly resulting in compromise of that user's admin session.
Self-hosted sites should leave the new security.embedPreviewUrl config option at its default.
Vulnerable versions
This vulnerability is present in Ghost from v6.34.0 up to v6.65.0.
Patches
v6.67.0 contains a fix for this issue.
How to update
For self-hosters using Docker, find Docker's official Ghost image here. Updating a Docker-based Ghost instance is documented here.
If your Ghost is a Ghost-CLI install see our documentation on updating it to the latest version here.
References
Ghost thanks DONG2209 (Dong Nguyen) and Pedro Pinho for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-105643 has been found in ghost.
Attackers can target a specific entry point like security.embedPreviewUrl over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 7.3/10.
What to do: upgrade ghost to 6.67.0 or later.
If unsure, ask your IT team or search "ghost CVE-2026-105643" on the vendor's site.
CVE-2026-105643 (ghost) — CWE-79 / CVSS v3 7.3
Attack vector: remote (network-reachable)
Attack surface: security.embedPreviewUrl
Patched: 6.67.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in ghost. Attackers reach the vulnerable code path via security.embedPreviewUrl.
Check the vendor advisory for the affected versions of ghost. Attack surface: security.embedPreviewUrl.
Severity: High (CVSS 7.3/10). Confidential information can be exposed externally.
Update to 6.67.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'ghost' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'ghost' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
ghostを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade ghost to 6.67.0ステージング環境で 6.67.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com