npm · @tryghost/activitypub
XSS in Ghost's ActivityPub client
The ActivityPub client in Ghost was vulnerable to JavaScript injection on posts shared by a maliciously customised ActivityPub server.
This vulnerability is present in the @tryghost/activitypub package up to v3.0.8. All prior versions are also affected.
@tryghost/activitypub v3.1.0 contains a fix for this issue and is also automatically fetched by Ghost.
Ghost thanks Brad Geesaman, Ghost Security for disclosing this vulnerability responsibly.
If you have any questions or comments about this advisory, email Ghost at security@ghost.org.
Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.
Check my repoSources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.