diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php
index 680a09ff32..0bebccbae7 100644
--- a/src/wp-admin/includes/ajax-actions.php
+++ b/src/wp-admin/includes/ajax-actions.php
@@ -3561,7 +3561,7 @@ function wp_ajax_query_themes() {
 			);
 		}
 
-		$theme->name        = wp_kses( $theme->name, $themes_allowedtags );
+		$theme->name        = wp_specialchars_decode( wp_kses( $theme->name, $themes_allowedtags ) );
 		$theme->author      = wp_kses( $theme->author['display_name'], $themes_allowedtags );
 		$theme->version     = wp_kses( $theme->version, $themes_allowedtags );
 		$theme->description = wp_kses( $theme->description, $themes_allowedtags );
