Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @tryghost/portal
  4. ›
  5. CVE-2026-24778

CVE-2026-24778: Ghost vulnerable to XSS via malicious Portal preview links

January 28, 2026

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.

References

  • github.com/TryGhost/Ghost
  • github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849
  • github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h
  • github.com/advisories/GHSA-gv6q-2m97-882h
  • nvd.nist.gov/vuln/detail/CVE-2026-24778

Code Behaviors & Features

Detect and mitigate CVE-2026-24778 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.29.1 before 2.51.5, all versions starting from 2.52.0 before 2.57.1

Fixed versions

  • 2.51.5
  • 2.57.1

Solution

Upgrade to versions 2.51.5, 2.57.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@tryghost/portal/CVE-2026-24778.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:54 +0000.