diff --git src/wp-admin/edit.php src/wp-admin/edit.php
index b1ad058..1e47a6c 100644
--- src/wp-admin/edit.php
+++ src/wp-admin/edit.php
@@ -352,7 +352,10 @@ if ( current_user_can( $post_type_object->cap->create_posts ) ) {
 
 if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
 	/* translators: %s: search keywords */
-	printf( ' <span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', get_search_query() );
+	printf(
+		' <span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>',
+		esc_html( wp_html_excerpt( get_search_query( false ), 50 , '&hellip;' ) )
+	);
 }
 ?>
 
