{"id":"DRUPAL-CONTRIB-2021-025","aliases":[],"status":"published","description":"The *Admin Toolbar* (`admin_toolbar`) module extends the default toolbar provided by Drupal Core with various features facilitating day-to-day editorial and administrative work.\n\nThe *Admin Toolbar Search* sub-module of this module\n\n* doesn't sanitize user input in certain cases, which leads to a Cross-Site-Scripting (XSS) vulnerability. An attacker that can create or edit certain entities, entity bundles or entity types may be able to exploit one or more Cross-Site-Scripting (XSS) vulnerabilities to target users with access to the *Admin Toolbar Search* search box, including site admins with privileged access.\n* doesn't properly check access in certain cases, which may result in an information disclosure vulnerability of entity type and bundle labels.\n\nThe vulnerability is mitigated by the facts, that:\n\n* the *Admin Toolbar Search* sub-module must be enabled.\n* an attacker must have one of several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.\n* a targeted account must have permission to use the search box provided by the *Admin Toolbar Search* sub-module.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2021-08-25T14:36:25Z","modified":"2026-09-10T03:45:12Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/admin_toolbar","fixed_in":["2.5.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/admin_toolbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"last_affected":"3.0.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.1"},{"last_affected":"3.0.1"}]}]}],"references":[{"url":"https://www.drupal.org/sa-contrib-2021-025","tags":["web"]}],"sources":{"osv":[{"id":"DRUPAL-CONTRIB-2021-025","description":"The *Admin Toolbar* (`admin_toolbar`) module extends the default toolbar provided by Drupal Core with various features facilitating day-to-day editorial and administrative work.\n\nThe *Admin Toolbar Search* sub-module of this module\n\n* doesn't sanitize user input in certain cases, which leads to a Cross-Site-Scripting (XSS) vulnerability. An attacker that can create or edit certain entities, entity bundles or entity types may be able to exploit one or more Cross-Site-Scripting (XSS) vulnerabilities to target users with access to the *Admin Toolbar Search* search box, including site admins with privileged access.\n* doesn't properly check access in certain cases, which may result in an information disclosure vulnerability of entity type and bundle labels.\n\nThe vulnerability is mitigated by the facts, that:\n\n* the *Admin Toolbar Search* sub-module must be enabled.\n* an attacker must have one of several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.\n* a targeted account must have permission to use the search box provided by the *Admin Toolbar Search* sub-module.","status":"published","published":"2021-08-25T14:36:25Z","modified":"2026-09-10T03:45:12.997455258Z","updated_at":"2026-11-02T15:46:13.584509Z"}]}}
