diff --git a/composer.json b/composer.json
index 5f2dd4a2e6032aaa7691c82631ea3d5f699b5560..015cad7c3b29029c085426dd2b58428c46736043 100644
--- a/composer.json
+++ b/composer.json
@@ -112,7 +112,7 @@
         "wpackagist-plugin/event-organiser": "3.12.8",
         "noblogs/ai-authenticate-rest-api-plugin": "0.0.4",
         "wpackagist-plugin/multisite-custom-css": "1.0",
-        "wpackagist-plugin/activitypub": "3.3.3",
+        "wpackagist-plugin/activitypub": "4.0.2",
         "wpackagist-plugin/gallery-block-lightbox": "1.15",
         "wpackagist-plugin/unconfirmed": "1.3.7",
         "noblogs/wp-mat": "0.1.4",
diff --git a/composer.lock b/composer.lock
index 1abd3f87f3e29d6a8cae411d241379a5351831a4..fb47124d8a54f2d01adc0e518ac8974c7e332fbf 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "7caf2eaf7389a4614c90ebf2daf7e8f0",
+    "content-hash": "248f2132f3056dea50f0415b9c3ac631",
     "packages": [
         {
             "name": "composer/installers",
@@ -892,15 +892,15 @@
         },
         {
             "name": "wpackagist-plugin/activitypub",
-            "version": "3.3.3",
+            "version": "4.0.2",
             "source": {
                 "type": "svn",
                 "url": "https://plugins.svn.wordpress.org/activitypub/",
-                "reference": "tags/3.3.3"
+                "reference": "tags/4.0.2"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://downloads.wordpress.org/plugin/activitypub.3.3.3.zip"
+                "url": "https://downloads.wordpress.org/plugin/activitypub.4.0.2.zip"
             },
             "require": {
                 "composer/installers": "^1.0 || ^2.0"