• Advisory ID: DRUPAL-SA-CONTRIB-2013-001
  • Project: Search API (third-party module)
  • Version: 7.x
  • Date: 2013-January-09
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting


This module enables you to build searches using a wide range of features, data sources and backends.

The module doesn't sufficiently sanitize user input when displaying errors in a view with certain backends, including the database backend. This enables attackers to create a Reflected Cross Site Scripting attack by manipulating the URL.
This is mitigated by the fact that the vulnerability only occurs with some backends (the Solr backend, e.g., is safe) and for certain common configurations of facets.
The module also doesn't sufficiently sanitize output field names in the admin view.
This is mitigated by the fact that an attacker would have to have the necessary permissions to change the field names of an indexed entity type.

CVE identifier(s) issued

  • CVE-2013-0181

Versions affected

  • Search API 7.x-1.x versions prior to 7.x-1.4.

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


Install the latest version:

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