• Advisory ID: DRUPAL-SA-CONTRIB-2014-034
  • Project: Custom Search (third-party module)
  • Version: 6.x, 7.x
  • Date: 2014-April-02
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

The Custom Search module alters the default search box to provide additional search filtering options and control.

Custom Search contains a persistent cross-site scripting (XSS) vulnerability due to the fact that it fails to sanitize filter labels before display.

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

CVE identifier(s) issued

  • CVE-2014-7870

Versions affected

  • Custom Search 6.x-1.x versions prior to 6.x-1.12.
  • Custom Search 7.x-1.x versions prior to 7.x-1.14.

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

Solution

Install the latest version:

Also see the Custom Search 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.


Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity