Drupal security updates, in plain English · Module

Search API Autocomplete

42,479 sites report using it · on drupal.org · 1 security update explained here

This module provides automatic text suggestions for search forms on a website.

Below is every security update for Search API Autocomplete that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Search API Autocomplete

Moderately critical · 42,479 sites report using it · SA-CONTRIB-2026-082 · on drupal.org · Week of 22 July 2026

Anyone without logging in could use a test script to run malicious code in the browser of a visitor. They could use this to view restricted information or make unauthorised changes on the site.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youThis applies if the web server is configured to display warning messages to users.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Search API Autocomplete to 8.x-1.12.

For developers: what the fix changed

Moves the JSON content-type header to the start of `search_api_autocomplete_test_custom_autocomplete_callback()` in `custom_autocomplete_script.php` and ignores non-string input to prevent XSS via PHP warnings.

Also in this release Adapted to the deprecation of hook_requirements() and fixed failing tests against newer Drupal versions.

8.x-1.11 to 8.x-1.12 7 commits, 17 files including 9 tests.

  • .gitlab-ci.yml +14 −4
  • .ignored-deprecations.txt +80 −0
  • CHANGELOG.txt +6 −0
  • phpstan.neon +30 −2
  • search_api_autocomplete.install +6 −53
  • search_api_autocomplete.services.yml +7 −1
  • src/Hook/SearchApiAutocompleteHooks.php +97 −0
  • src/Utility/PluginHelper.php +7 −25

Full diff, 8.x-1.11 to 8.x-1.12

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.