{"id":"DRUPAL-CONTRIB-2021-025","aliases":["DRUPAL-CONTRIB-2021-025"],"related":[],"kind":"vulnerability","state":"published","title":"The Admin Toolbar (admintoolbar) module extends the default toolbar provided by Drupal Core with various features facilitating day-to-day e…","summary":"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.","summaryFormat":"markdown","summarySource":"drupal","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"drupal"}],"published":"2021-08-25T14:36:25.000Z","modified":"2026-09-10T03:45:12.997Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.5.0"},{"type":"ecosystem","introduced":"3.0.0","status":"affected","lastAffected":"3.0.0"},{"type":"ecosystem","introduced":"3.0.1","status":"affected","lastAffected":"3.0.1"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/admin_toolbar","purl":"pkg:composer/drupal/admin_toolbar?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2021-025","tags":["web"],"sources":["drupal"]}],"credits":["Patrick Fey"],"sources":[{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2021-025","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2021-025","licence":"MIT","modified":"2026-09-10T03:45:12.997Z"}],"updatedAt":"2026-11-25T22:56:30.125Z"}