Summary
Ghost: Stored XSS via oEmbed Photo Responses
Advisory details
Impact
Embedding a URL from an attacker-controlled website could result in untrusted scripts being stored in post content. These scripts could run in the Ghost editor, on the published site, and in newsletter emails, possibly resulting in compromise of a staff user's admin session.
Vulnerable versions
This vulnerability is present in Ghost from v2.1.0 up to v6.64.0.
Patches
v6.64.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 SecBuddyF of Tencent KeenLab and Nhat Anh Vu for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
References
- https://github.com/advisories/GHSA-v3xr-g6p2-fvgv
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-v3xr-g6p2-fvgv
- https://nvd.nist.gov/vuln/detail/CVE-2026-105650
- https://github.com/TryGhost/Ghost/pull/30763
- https://github.com/TryGhost/Ghost/commit/d23d552e257e2696c60293bc5cd7898a49d6bd1f
- https://github.com/TryGhost/Ghost/releases/tag/v6.64.0
Related vulnerabilities
All Supply chain →- HIGHCVE-2026-63671
@nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configuration
- MEDIUMCVE-2026-61453
Grav: XSS Blueprint Validation Bypass via Twig String Concatenation
- HIGHCVE-2026-84370
SVGO: removeScripts allows executable links through namespace and control-character bypasses
- MEDIUMCVE-2026-68921
DiceBear: SVG injection via the unescaped rotate option in @dicebear/core (and fontSize/fontWeight in @dicebear/initials)
- CRITICALCVE-2026-102989
TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses
- CRITICALCVE-2026-104252
Vitess vttablet /twopcz reflected XSS