ADVISORIES

GitHub Advisory Database

GHSA-xpp7-93x6-v29m

XSS in Ghost's ActivityPub client

Details

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]).

Affected packages

EcosystemPackageAffected versions
npm@tryghost/activitypub
All versions before 3.1.0 (fixed in 3.1.0)

References