Loading...
Skip to main content

CVE-2026-24778 — Vulnerability in @tryghost/portal — CVE Details

HIGH

Ghost vulnerable to XSS via malicious Portal preview links

Published January 28, 2026Updated February 3, 2026Source: osv

Summary

### 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](mailto:security@ghost.org).

Advisory Timeline

  • First published January 28, 2026 (257 days ago).
  • Last revised February 3, 2026 — 6 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update @tryghost/portal to 2.51.5 or later
npm install @tryghost/portal@2.51.5
npm
Update @tryghost/portal to 2.57.1 or later
npm install @tryghost/portal@2.57.1
npm
Update ghost to 6.15.0 or later
npm install ghost@6.15.0
npm
Update ghost to 5.121.0 or later
npm install ghost@5.121.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: npm (2).

PackageEcosystemAffectedFixed In
@tryghost/portal
npm
All versions2.51.5
@tryghost/portal
npm
All versions2.57.1
ghost
npm
All versions6.15.0
ghost
npm
All versions5.121.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-24778?
Ghost vulnerable to XSS via malicious Portal preview links This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-24778?
CVE-2026-24778 affects @tryghost/portal and ghost. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-24778 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-gv6q-2m97-882h
BIT-ghost-2026-24778

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies