diff --git a/core/lib/Drupal/Core/Entity/ContentEntityForm.php b/core/lib/Drupal/Core/Entity/ContentEntityForm.php
index 16e3df8694..d5ae3a186d 100644
--- a/core/lib/Drupal/Core/Entity/ContentEntityForm.php
+++ b/core/lib/Drupal/Core/Entity/ContentEntityForm.php
@@ -112,6 +112,9 @@ public function form(array $form, FormStateInterface $form_state) {
 
     $form = parent::form($form, $form_state);
 
+    // Attach drupal.form for double submit prevention.
+    $form['#attached']['library'][] = 'core/drupal.form';
+
     // Content entity forms do not use the parent's #after_build callback
     // because they only need to rebuild the entity in the validation and the
     // submit handler because Field API uses its own #after_build callback for
