Loading advisory.
Loading advisory.
Ghost vulnerable to XSS via malicious Portal preview links
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.
Published 2026-01-27 21:57 UTC · Modified 2026-02-03 09:26 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| ghost | npm | >= 5.43.0, < 5.121.0 >= 6.0.0, < 6.15.0 | 5.121.0, 6.15.0 | npm install ghost@5.121.0npm install ghost@6.15.0 |
| @tryghost/portal | npm | >= 2.29.1, < 2.51.5 >= 2.52.0, < 2.57.1 | 2.51.5, 2.57.1 | npm install @tryghost/portal@2.51.5npm install @tryghost/portal@2.57.1 |
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.
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
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.
Ghost thanks Younes Belalia for discovering and disclosing this vulnerability responsibly.
If users have any questions or comments about this advisory, email Ghost at security@ghost.org.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |