Description
The Search and Replace Scanner module provides a way for content administrators to search for specific strings across all (enabled) content and, optionally, replace the strings with something else.
The module doesn't sufficiently sanitize for cross-site scripting (XSS) in the return results.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Perform search only" with a content item that contains inappropriate HTML in the title.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/scanner | < 2.0.3 | 2.0.3 | DRUPAL-CONTRIB-2026-367 |