{"id":"DRUPAL-CONTRIB-2026-367","details":"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.\n\nThe module doesn't sufficiently sanitize for cross-site scripting (XSS) in the return results.\n\nThis 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.","aliases":["CVE-2026-142421"],"modified":"2026-12-02T19:15:05.572651648Z","published":"2026-12-02T18:04:21Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-367"}],"affected":[{"package":{"name":"drupal/scanner","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/scanner?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3"}],"database_specific":{"constraint":"\u003c 2.0.3"}}],"database_specific":{"affected_versions":"\u003c 2.0.3","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/scanner/DRUPAL-CONTRIB-2026-367.json"}}],"schema_version":"1.9.2","credits":[{"name":"Pedro Cambra (pcambra)","contact":["https://www.drupal.org/u/pcambra"]}]}