# ActivityPub <= 9.4.3 - Unauthenticated Improper Authorization via Cross-Site OAuth Token Reuse on Multisite

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

## Description

The ActivityPub plugin for WordPress is vulnerable to improper authorization of OAuth access tokens in all versions from 8.1.0 up to, and including, 9.4.3, due to tokens issued to connected apps being stored as plain user meta, which all sites of a multisite network share, and Token::validate() not checking which site issued the token. This makes it possible for unauthenticated attackers controlling an app that a user connected on one site to use the ActivityPub API as that user on every other site of the same network where the API is enabled. Only multisite installations, or sites sharing user tables, are affected.

## References

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

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

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.
