• Advisory ID: DRUPAL-SA-CONTRIB-2011-027
  • Project: Facebook Share (third-party module)
  • Version: 6.x, 7.x
  • Date: 2011-July-06
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

This module enables Drupal site administrators to add a Facebook Share button to selected content type nodes.
The module doesn't sufficiently check the override text or button size input fields on the module configuration form to prevent against an XSS exploit.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer facebookshare".

Versions affected

  • Drupal 6.x-1.1 and prior
  • Drupal 7.x-1.2 and prior

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

Solution

Install the latest version:

See also the Facebook Share 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 contact form at http://drupal.org/contact.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.