diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php
index f7b65197bc..6aaf71b9ab 100644
--- a/wp-admin/includes/plugin-install.php
+++ b/wp-admin/includes/plugin-install.php
@@ -880,7 +880,7 @@ function install_plugin_information() {
break;
case 'newer_installed':
/* translators: %s: Plugin version. */
- echo '' . sprintf( __( 'Newer Version (%s) Installed' ), $status['version'] ) . '';
+ echo '' . sprintf( __( 'Newer Version (%s) Installed' ), esc_html( $status['version'] ) ) . '';
break;
case 'latest_installed':
echo '' . __( 'Latest Version Installed' ) . '';
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 89b28fce7d..a66e4dbfae 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
-$wp_version = '5.8-alpha-50824';
+$wp_version = '5.8-alpha-50825';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.