CVE-2026-53950: XSS in Ghost's ActivityPub client
Impact The ActivityPub client in Ghost was vulnerable to JavaScript injection on posts shared by a maliciously customised ActivityPub server. Vulnerable Versions This vulnerability is present in the @tryghost/activitypub package up to v3.0.8. All prior versions are also affected. Patches @tryghost/activitypub v3.1.0 contains a fix for this issue and is also automatically fetched by Ghost.
Published Aug 4, 2026
Affected packages
@tryghost/activitypub
- Ecosystem
- npm
- Affected
- < 3.1.0
- Fixed in
- 3.1.0
- Check
npm ls @tryghost/activitypub
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The ActivityPub client in Ghost was vulnerable to JavaScript injection on posts shared by a maliciously customised ActivityPub server.
Vulnerable Versions
This vulnerability is present in the @tryghost/activitypub package up to v3.0.8. All prior versions are also affected.
Patches
@tryghost/activitypub v3.1.0 contains a fix for this issue and is also automatically fetched by Ghost.
References
Ghost thanks Brad Geesaman, Ghost Security for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email Ghost at [[email protected]](mailto:[email protected]).
Credited to bgeesaman.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
