{"id":"CVE-2026-24778","aliases":["CVE-2026-24778","GHSA-gv6q-2m97-882h","BIT-GHOST-2026-24778"],"related":[],"kind":"vulnerability","state":"published","title":"Ghost vulnerable to XSS via malicious Portal preview links","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn 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. \n\n### Vulnerable versions\nThis vulnerability is present in Ghost versions:\n- v5.43.0 to v5.120.4\n- v6.0.0 to v6.14.0\n\nAs well as in Portal versions:\n- v2.29.1 to v2.51.4\n- v2.52.0 to v2.57.0\n\n### Patches\nGhost automatically loads the latest patch of the members Portal component via CDN. Therefore:\n- For Ghost 5.x users, upgrading to v5.121.0 or later fixes the vulnerability (loads Portal v2.51.5, which contains the patch)\n- For Ghost 6.x users, upgrading to v6.15.0 or later fixes the vulnerability (loads Portal v2.57.1, which contains the patch)\n\nFor 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.\n\n### References\nGhost thanks Younes Belalia for discovering and disclosing this vulnerability responsibly.\n\n### For more information\nIf users have any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-01-27T21:57:45.298Z","modified":"2026-09-10T16:01:31.927Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"@tryghost/portal >= 2.29.1, < 2.51.5","status":"affected"},{"version":"@tryghost/portal >= 2.52.0, < 2.57.1","status":"affected"},{"version":"ghost >= 5.43.0, < 5.121.0","status":"affected"},{"version":"ghost >= 6.0.0, < 6.15.0","status":"affected"}],"vendor":"TryGhost","product":"Ghost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.43.0","status":"affected","fixed":"5.121.0"}],"ecosystem":"npm","package":"ghost","purl":"pkg:npm/ghost","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.29.1","status":"affected","fixed":"2.51.5"}],"ecosystem":"npm","package":"@tryghost/portal","purl":"pkg:npm/%40tryghost/portal","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.52.0","status":"affected","fixed":"2.57.1"}],"ecosystem":"npm","package":"@tryghost/portal","purl":"pkg:npm/%40tryghost/portal","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.15.0"}],"ecosystem":"npm","package":"ghost","purl":"pkg:npm/ghost","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.43.0","fixed":"5.121.0"},{"status":"affected","introduced":"6.0.0","fixed":"6.15.0"}],"vendor":"ghost","product":"ghost","cpe":"cpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.29.1","fixed":"2.51.5"},{"status":"affected","introduced":"2.52.0","fixed":"2.57.1"}],"vendor":"ghost","product":"portal","cpe":"cpe:2.3:a:ghost:portal:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.43.0","status":"affected","fixed":"5.121.0"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.15.0"}],"ecosystem":"Bitnami","package":"ghost","purl":"pkg:bitnami/ghost","source":"bitnami"}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24778","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/TryGhost/Ghost","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-28T21:11:07.745Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-24778","url":"https://www.cve.org/CVERecord?id=CVE-2026-24778","licence":"CVE Terms of Use","modified":"2026-01-28T21:11:19.164Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv6q-2m97-882h","url":"https://github.com/advisories/GHSA-gv6q-2m97-882h","licence":"CC-BY-4.0","modified":"2026-02-03T09:26:16.637Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-24778","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24778","licence":"Public domain","modified":"2026-06-17T10:23:34.713Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GHOST-2026-24778","url":"https://osv.dev/vulnerability/BIT-GHOST-2026-24778","licence":"Apache-2.0","modified":"2026-09-10T16:01:31.927Z"}],"updatedAt":"2026-11-25T22:59:13.249Z","epss":{"score":0.00287,"percentile":0.22843,"date":"2026-12-01T12:00:22.000Z"}}