diff --git a/core/package.json b/core/package.json
index 62faefc840..cf35ae45a0 100644
--- a/core/package.json
+++ b/core/package.json
@@ -59,7 +59,6 @@
     "@ckeditor/ckeditor5-table": "~31.1.0",
     "@drupal/once": "^1.0.1",
     "@popperjs/core": "^2.9.2",
-    "acorn": "^8.7.0",
     "babel-plugin-add-header-comment": "^1.0.3",
     "backbone": "^1.4.0",
     "chalk": "^4.1.0",
diff --git a/core/yarn.lock b/core/yarn.lock
index ce73e144e3..6500cb9378 100644
--- a/core/yarn.lock
+++ b/core/yarn.lock
@@ -8203,7 +8203,17 @@ terser@^4.8.0:
     source-map "~0.6.1"
     source-map-support "~0.5.12"
 
-terser@^5.3.4, terser@^5.7.2:
+terser@^5.3.4:
+  version "5.11.0"
+  resolved "https://registry.yarnpkg.com/terser/-/terser-5.11.0.tgz#2da5506c02e12cd8799947f30ce9c5b760be000f"
+  integrity sha512-uCA9DLanzzWSsN1UirKwylhhRz3aKPInlfmpGfw8VN6jHsAtu8HJtIpeeHHK23rxnE/cDc+yvmq5wqkIC6Kn0A==
+  dependencies:
+    acorn "^8.5.0"
+    commander "^2.20.0"
+    source-map "~0.7.2"
+    source-map-support "~0.5.20"
+
+terser@^5.7.2:
   version "5.10.0"
   resolved "https://registry.yarnpkg.com/terser/-/terser-5.10.0.tgz#b86390809c0389105eb0a0b62397563096ddafcc"
   integrity sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==
