• Advisory ID: DRUPAL-SA-CONTRIB-2013-007
  • Project: User Relationships (third-party module)
  • Version: 6.x, 7.x
  • Date: 2013-January-23
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

The User Relationships module allows you to create multiple relationship types and maintain relationships between users in your Drupal site.

The module does not sufficiently escape relationship names before display. This allows users with the correct permissions to create relationship names containing arbitrary Javascript which will then be executed by the browser.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer user relationships".

CVE identifier(s) issued

  • CVE-2013-0225

Versions affected

  • User Relationships 6.x-1.x versions prior to 6.x-1.4
  • User Relationships 7.x-1.x versions prior to 7.x-1.0-alpha5

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

Solution

Install the latest version:

Also see the User Relationships project page.

Reported by

Fixed by

Coordinated 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.