Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 9369)
+++ wp-includes/link-template.php	(working copy)
@@ -722,7 +722,7 @@
 			return;
 	}
 
-	$link = '<a href="' . get_edit_post_link( $post->ID ) . '" title="' . __( 'Edit post' ) . '">' . $link . '</a>';
+	$link = '<a href="' . get_edit_post_link( $post->ID ) . '" title="' . attribute_escape( __( 'Edit post' ) ) . '">' . $link . '</a>';
 	echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after;
 }
 
