# DRUPAL-CONTRIB-2026-367: 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

- Database: Drupal
- Published: 2026-12-02
- Modified: 2026-12-02

## Affected versions

- drupal/scanner (Packagist): fixed in 2.0.3

## 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.

## References

- https://www.drupal.org/sa-contrib-2026-367

Page: https://cve.now/DRUPAL-CONTRIB-2026-367

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