8.8high
Ghost vulnerable to XSS via malicious Portal preview links
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gv6q-2m97-882hBIT-GHOST-2026-24778
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
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| ghost (npm) | from 5.43.0 before 5.121.0, from 6.0.0 before 6.15.0 | GitHub Advisory Database |
| @tryghost/portal (npm) | from 2.29.1 before 2.51.5, from 2.52.0 before 2.57.1 | GitHub Advisory Database |
| ghost ghost | from 5.43.0 before 5.121.0, from 6.0.0 before 6.15.0 | NVD |
| ghost portal | from 2.29.1 before 2.51.5, from 2.52.0 before 2.57.1 | NVD |
| ghost (Bitnami) | from 5.43.0 before 5.121.0, from 6.0.0 before 6.15.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Vulnerable versions
This vulnerability is present in Ghost versions:
- v5.43.0 to v5.120.4
- v6.0.0 to v6.14.0
As well as in Portal versions:
- v2.29.1 to v2.51.4
- v2.52.0 to v2.57.0
Patches
Ghost automatically loads the latest patch of the members Portal component via CDN. Therefore:
- For Ghost 5.x users, upgrading to v5.121.0 or later fixes the vulnerability (loads Portal v2.51.5, which contains the patch)
- For Ghost 6.x users, upgrading to v6.15.0 or later fixes the vulnerability (loads Portal v2.57.1, which contains the patch)
For Ghost installations using a customised or self-hosted version of Portal, it will be necessary to manually rebuild from or update to the latest patch version.
References
Ghost thanks Younes Belalia for discovering and disclosing this vulnerability responsibly.
For more information
If users have any questions or comments about this advisory, email Ghost at security@ghost.org.
NVD (es)
Ghost es un sistema de gestión de contenido de código abierto. En las versiones de Ghost 5.43.0 a 5.12.04 y 6.0.0 a 6.14.0, un atacante pudo crear un enlace malicioso que, cuando era accedido por un usuario de personal o miembro autenticado, ejecutaría JavaScript con los permisos de la víctima, lo que podría llevar a la toma de control de la cuenta. Las versiones de Ghost Portal 2.29.1 a 2.51.4 y 2.52.0 a 2.57.0 eran vulnerables a este problema. Ghost carga automáticamente el último parche del componente Portal de miembros a través de CDN. Para los usuarios de Ghost 5.x, actualizar a la v5.121.0 o posterior corrige la vulnerabilidad. La v5.121.0 carga Portal v2.51.5, que contiene el parche. Para los usuarios de Ghost 6.x, actualizar a la v6.15.0 o posterior corrige la vulnerabilidad. La v6.15.0 carga Portal v2.57.1, que contiene el parche. Para las instalaciones de Ghost que utilizan una versión personalizada o autoalojada de Portal, será necesario reconstruir manualmente desde o actualizar a la última versión del parche.
References
| https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h | advisory, vendor-advisory, web | |
| https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-24778 | advisory, web | |
| https://github.com/TryGhost/Ghost | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-24778 changed 2026-01-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gv6q-2m97-882h changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2026-24778 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GHOST-2026-24778 changed 2026-09-10 | Apache-2.0 |