• Advisory ID: DRUPAL-SA-CONTRIB-2010-106
  • Project: Comment Edited (third-party module)
  • Version: 6.x
  • Date: 2010-Dec-01
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

The Comment Edited module displays a customizable message at the bottom of a comment when it has been edited.

The module does not sanitize some of the user-supplied data before displaying it, leading to a Cross Site Scripting (XSS) vulnerability that may lead to a malicious user gaining full administrative access.

This vulnerability is mitigated by the fact that the attacker must have a role with the 'administer comments' permission which should generally only be granted to trusted roles.

Versions affected

  • Comment Edited module for Drupal 6.x versions prior to 6.x-1.4

Drupal core is not affected. If you do not use the contributed Comment Edited module, there is nothing you need to do.

Solution

Install the latest version:

See also the Comment Edited project page.

Reported by

Fixed by

Contact and More Information

The Drupal security team can be reached at security at drupal.org or via the form at http://drupal.org/contact.
Learn more about the team and their policies, writing secure code for Drupal, and Secure Configuration of your site.