WordPress 2.0.1 Security Vulnerability

Latest WP 2.0.1 is vulnerable to severall cross-site-scripting (XSS) attacs through the comments feature. This issue was discovered by the Neo Security Team.

To fix the issue, add htmlentities() around each call to trim() in wp-comments-post.php:

$comment_author = htmlentities(trim($_POST['author'])); $comment_author_email = htmlentities(trim($_POST['email'])); $comment_author_url = htmlentities(trim($_POST['url'])); $comment_content = htmlentities(trim($_POST['comment']));

One Response to “WordPress 2.0.1 Security Vulnerability”

  1. Administrator Says:

    WordPress has meanwhile release version 2.0.2 which fixes this and some other, sofar undisclosed secutiry issues.

Leave a Reply