What’s Vulnerable › Vulnerabilities
CVE-2026-24778: Ghost vulnerable to XSS via malicious Portal preview links
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-27 · updated 2026-06-17
- Weakness: CWE-79
Description
Ghost is an open source content management system. In Ghost versions 5.43.0 through 5.12.04 and 6.0.0 through 6.14.0, an attacker was able to craft a malicious link that, when accessed by an authenticated staff user or member, would execute JavaScript with the victim's permissions, potentially leading to account takeover. Ghost Portal versions 2.29.1 through 2.51.4 and 2.52.0 through 2.57.0 were vulnerable to this issue. Ghost automatically loads the latest patch of the members Portal component via CDN. For Ghost 5.x users, upgrading to v5.121.0 or later fixes the vulnerability. v5.121.0 loads Portal v2.51.5, which contains the patch. For Ghost 6.x users, upgrading to v6.15.0 or later fixes the vulnerability. v6.15.0 loads Portal v2.57.1, which contains the patch. For Ghost installations using a customized or self-hosted version of Portal, it will be necessary to manually rebuild from or update to the latest patch version.
Affected products
- TryGhost Ghost: from 5.43.0 before 5.121.0; from 6.0.0 before 6.15.0 — fixed in 5.121.0, 6.15.0
- Ghost Portal: from 2.29.1 before 2.51.5; from 2.52.0 before 2.57.1 — fixed in 2.51.5, 2.57.1
How to fix
Upgrade to a fixed version: TryGhost Ghost 5.121.0, 6.15.0; Ghost Portal 2.51.5, 2.57.1. Check the vendor advisory for mitigations.
References
- https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h
Get alerted when CVE-2026-24778 or the next vulnerability affects your stack