Date
Severity
Moderately Critical
Vulnerability
Cross Site Scripting
Affected versions
<7.x-1.4

Description

The Autocomplete Searchbox module adds an autocomplete dropdown to the site search field that suggests matching node titles and taxonomy term names as the visitor types.

The module builds each suggestion by concatenating the stored node title or term name into the suggestion markup without escaping it, and the core autocomplete behaviour inserts that markup into the page as HTML, so a title or term name that contains markup becomes active script in the browser of every visitor whose search prefix matches the stored value.

This vulnerability is mitigated by the fact that storing the payload requires a role permitted to create or edit the matching content or taxonomy terms, and the suggestion only runs for visitors who have permission to use the search autocomplete and who type a prefix matching the stored value.

Solution

Install the latest version.

If you use the Autocomplete Searchbox module for Drupal 7, upgrade to Autocomplete Searchbox 7.x-1.4:


Reported by

Fixed by

  • Tag1 D7ES

Coordinated by

  • Tag1 D7ES