# DRUPAL-CONTRIB-2023-026: This module enables you to use complex autocompletion in forms

- Database: Drupal
- Published: 2023-06-28
- Modified: 2026-09-10

## Affected versions

- drupal/search\_autocomplete (Packagist): fixed in 2.0.3

## Description

This module enables you to use complex autocompletion in forms.

The module doesn't sufficiently filter text in the data it exposes, allowing a malicious user to enter specially crafted tags to exploit a Cross Site Scripting (XSS) attack.

This vulnerability is mitigated by the fact that an attacker must have a role which allows them to publish the kind of data used in the autocomplete (for instance create nodes if the tool is used to search nodes, comments if the tool is used to search comments, etc...)

## References

- https://www.drupal.org/sa-contrib-2023-026

Page: https://cve.now/DRUPAL-CONTRIB-2023-026

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
