diff --git a/core/modules/path/src/Plugin/Field/FieldType/PathItem.php b/core/modules/path/src/Plugin/Field/FieldType/PathItem.php
index 53ddcc2689..6976bab641 100644
--- a/core/modules/path/src/Plugin/Field/FieldType/PathItem.php
+++ b/core/modules/path/src/Plugin/Field/FieldType/PathItem.php
@@ -123,13 +123,19 @@ public function postSave($update) {
       }
     }
     else {
+      $entity = $this->getEntity();
+      // Prevent changes to the URL alias if the entity being saved is not the
+      // default revision.
+      if (!$entity->isDefaultRevision() && ($this->pid || $this->alias)) {
+        drupal_set_message($this->t('You cannot change the URL alias until you publish this @entity_type_label.', ['@entity_type_label' => $entity->getEntityType()->getLabel()]), 'error');
+        return;
+      }
       // Delete old alias if user erased it.
       if ($this->pid && !$this->alias) {
         \Drupal::service('path.alias_storage')->delete(['pid' => $this->pid]);
       }
       // Only save a non-empty alias.
       elseif ($this->alias) {
-        $entity = $this->getEntity();
         \Drupal::service('path.alias_storage')->save('/' . $entity->urlInfo()->getInternalPath(), $this->alias, $this->getLangcode(), $this->pid);
       }
     }
diff --git a/core/modules/path/tests/src/Functional/PathContentModerationTest.php b/core/modules/path/tests/src/Functional/PathContentModerationTest.php
new file mode 100644
index 0000000000..51620b24e8
--- /dev/null
+++ b/core/modules/path/tests/src/Functional/PathContentModerationTest.php
@@ -0,0 +1,101 @@
+<?php
+
+namespace Drupal\Tests\path\Functional;
+
+use Drupal\Core\Path\AliasStorage;
+use Drupal\node\Entity\NodeType;
+use Drupal\Tests\BrowserTestBase;
+use Drupal\workflows\Entity\Workflow;
+
+/**
+ * Tests path aliases with Content Moderation.
+ *
+ * @group path
+ */
+class PathContentModerationTest extends BrowserTestBase {
+
+  /**
+   * Modules to install.
+   *
+   * @var array
+   */
+  public static $modules = ['node', 'path', 'content_moderation'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+
+    // Created a content type.
+    $node_type = NodeType::create(['name' => 'moderated', 'type' => 'moderated']);
+    $node_type->save();
+
+    // Set the content type as moderated.
+    $workflow = Workflow::load('editorial');
+    $workflow->getTypePlugin()->addEntityTypeAndBundle('node', 'moderated');
+    $workflow->save();
+
+    $this->drupalLogin($this->rootUser);
+  }
+
+  /**
+   * Tests node path aliases on a moderated content type.
+   */
+  public function testNodePathAlias() {
+    // Create some moderated content with a path alias.
+    $this->drupalGet('node/add/moderated');
+    $this->assertSession()->fieldValueEquals('path[0][alias]', '');
+    $this->drupalPostForm(NULL, [
+      'title[0][value]' => 'moderated content',
+      'path[0][alias]' => '/moderated-content',
+    ], t('Save and Publish'));
+    $node = $this->getNodeByTitle('moderated content');
+
+    // Add a forward revision with the same alias.
+    $this->drupalGet('node/' . $node->id() . '/edit');
+    $this->assertSession()->fieldValueEquals('path[0][alias]', '/moderated-content');
+    $this->drupalPostForm(NULL, [
+      'title[0][value]' => 'forward revision',
+      'path[0][alias]' => '/moderated-content',
+    ], t('Save and Create New Draft'));
+    $this->assertSession()->pageTextContains('You cannot change the URL alias until you publish this Content.');
+
+    // Create some moderated content with no path alias.
+    $this->drupalGet('node/add/moderated');
+    $this->assertSession()->fieldValueEquals('path[0][alias]', '');
+    $this->drupalPostForm(NULL, [
+      'title[0][value]' => 'moderated content 2',
+      'path[0][alias]' => '',
+    ], t('Save and Publish'));
+    $node = $this->getNodeByTitle('moderated content 2');
+
+    // Add a forward revision with a new alias.
+    $this->drupalGet('node/' . $node->id() . '/edit');
+    $this->assertSession()->fieldValueEquals('path[0][alias]', '');
+    $this->drupalPostForm(NULL, [
+      'title[0][value]' => 'forward revision',
+      'path[0][alias]' => '/forward-revision',
+    ], t('Save and Create New Draft'));
+    $this->assertSession()->pageTextContains('You cannot change the URL alias until you publish this Content.');
+
+    // Create some moderated content with no path alias.
+    $this->drupalGet('node/add/moderated');
+    $this->assertSession()->fieldValueEquals('path[0][alias]', '');
+    $this->drupalPostForm(NULL, [
+      'title[0][value]' => 'moderated content 3',
+      'path[0][alias]' => '',
+    ], t('Save and Publish'));
+    $node = $this->getNodeByTitle('moderated content 3');
+
+    // Add a forward revision with no path alias.
+    $this->drupalGet('node/' . $node->id() . '/edit');
+    $this->assertSession()->fieldValueEquals('path[0][alias]', '');
+    $this->drupalPostForm(NULL, [
+      'title[0][value]' => 'forward revision',
+      'path[0][alias]' => '',
+    ], t('Save and Create New Draft'));
+    $this->assertSession()->pageTextNotContains('You cannot change the URL alias until you publish this Content.');
+
+  }
+}
