# ActivityPub <= 9.4.4 - Unauthenticated Sensitive Information Exposure via Unapproved, Spam and Trashed Comments

- **ID:** WPSEC-2026-4317
- **Plugin:** ActivityPub (`activitypub`), https://wordpress.org/plugins/activitypub/
- **Affected versions:** from 2.0.0 before 9.5.0
- **Fixed in:** 9.5.0 (Update to 9.5.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/activitypub
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4317/

## Description

The ActivityPub plugin for WordPress is vulnerable to Sensitive Information Exposure via the ActivityPub representation of comments (the ?c=<id> object and its replies collection) in all versions up to, and including, 9.4.4. This is due to the plugin not checking a comment's approval status before serving it. This makes it possible for unauthenticated attackers to read the content of comments that local users who publish to the Fediverse have written, even while those comments are pending moderation, marked as spam or in the trash.

## References

- https://wpsec.com/vuln/WPSEC-2026-4317/
- https://plugins.svn.wordpress.org/activitypub/tags/9.5.0/
- https://wordpress.org/plugins/activitypub/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4317/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
