ghost
Affected
- introduced
5.43.0, fixed5.121.0(semver)
Fixed versions
5.121.0
Fix
- Fixed version
5.121.0npm install [email protected]
Advisory
Also known as: BIT-ghost-2026-24778, CVE-2026-24778
Ghost vulnerable to XSS via malicious Portal preview links
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:
As well as in Portal versions:
Patches
Ghost automatically loads the latest patch of the members Portal component via CDN. Therefore:
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 [[email protected]](mailto:[email protected]).
High Basis: The source's own band: HIGH
5.43.0, fixed 5.121.0 (semver)5.121.0
5.121.0npm install [email protected]2.29.1, fixed 2.51.5 (semver)2.51.5
2.51.5npm install @tryghost/[email protected]2.52.0, fixed 2.57.1 (semver)2.57.1
2.57.1npm install @tryghost/[email protected]6.0.0, fixed 6.15.0 (semver)6.15.0
6.15.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0