CVE-2026-24778
MEDIUM 6.1CVSS 3.1Ghost vulnerable to XSS via malicious Portal preview links
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.
- Published
- 27 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- BIT-ghost-2026-24778GHSA-gv6q-2m97-882h
- Sources
- NVDJSONOSV GHSA-gv6q-2m97-882hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ghost | ghostcpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:* |
>= 5.43.0, < 5.121.0 | 5.121.0 |
| NVD | ghost | ghostcpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:* |
>= 6.0.0, < 6.15.0 | 6.15.0 |
| NVD | ghost | portalcpe:2.3:a:ghost:portal:*:*:*:*:*:node.js:*:* |
>= 2.29.1, < 2.51.5 | 2.51.5 |
| NVD | ghost | portalcpe:2.3:a:ghost:portal:*:*:*:*:*:node.js:*:* |
>= 2.52.0, < 2.57.1 | 2.57.1 |
| OSV | npm | ghost | >= 5.43.0, < 5.121.0 | 5.121.0 |
| OSV | npm | @tryghost/portal | >= 2.29.1, < 2.51.5 | 2.51.5 |
| OSV | npm | @tryghost/portal | >= 2.52.0, < 2.57.1 | 2.57.1 |
| OSV | npm | ghost | >= 6.0.0, < 6.15.0 | 6.15.0 |
References
- https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849 · Patch, WEB
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-24778 · ADVISORY
- https://github.com/TryGhost/Ghost · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Jan 2026)