CVE-2026-24778 Ghost vulnerable to XSS via malicious Portal preview links
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
5 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ghost | >= 5.43.0, < 5.121.0; >= 6.0.0, < 6.15.0 | 5.121.0, 6.15.0 | Fixed |
| ghost portal | >= 2.29.1, < 2.51.5; >= 2.52.0, < 2.57.1 | 2.51.5, 2.57.1 | Fixed |
| npm ghost(npm) | >= 5.43.0, < 5.121.0; >= 6.0.0, < 6.15.0 | 5.121.0, 6.15.0 | Fixed |
| TryGhost @tryghost/portal(npm) | >= 2.29.1, < 2.51.5; >= 2.52.0, < 2.57.1 | 2.51.5, 2.57.1 | Fixed |
| TryGhost Ghost | = @tryghost/portal >= 2.29.1, < 2.51.5; = @tryghost/portal >= 2.52.0, < 2.57.1; = ghost >= 5.43.0, < 5.121.0; = ghost >= 6.0.0, < 6.15.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| TryGhost Ghost | = @tryghost/portal >= 2.29.1, < 2.51.5 | No fix listed |
| TryGhost Ghost | = @tryghost/portal >= 2.52.0, < 2.57.1 | No fix listed |
| TryGhost Ghost | = ghost >= 5.43.0, < 5.121.0 | No fix listed |
| TryGhost Ghost | = ghost >= 6.0.0, < 6.15.0 | No fix listed |
| npm ghost(npm) | >= 5.43.0, < 5.121.0 | 5.121.0 |
| TryGhost @tryghost/portal(npm) | >= 2.29.1, < 2.51.5 | 2.51.5 |
| TryGhost @tryghost/portal(npm) | >= 2.52.0, < 2.57.1 | 2.57.1 |
| npm ghost(npm) | >= 6.0.0, < 6.15.0 | 6.15.0 |
| ghost | >= 5.43.0, < 5.121.0 | 5.121.0 |
| ghost | >= 6.0.0, < 6.15.0 | 6.15.0 |
| ghost portal | >= 2.29.1, < 2.51.5 | 2.51.5 |
| ghost portal | >= 2.52.0, < 2.57.1 | 2.57.1 |
References
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h vendor-advisory
- https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product