DRUPAL-CONTRIB-2021-025
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.
The Admin Toolbar Search sub-module of this module
- 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.
- doesn't properly check access in certain cases, which may result in an information disclosure vulnerability of entity type and bundle labels.
The vulnerability is mitigated by the facts, that:
- the Admin Toolbar Search sub-module must be enabled.
- an attacker must have one of several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.
- a targeted account must have permission to use the search box provided by the Admin Toolbar Search sub-module.
What each source reports
OSV No score
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.
The Admin Toolbar Search sub-module of this module
- 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.
- doesn't properly check access in certain cases, which may result in an information disclosure vulnerability of entity type and bundle labels.
The vulnerability is mitigated by the facts, that:
- the Admin Toolbar Search sub-module must be enabled.
- an attacker must have one of several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.
- a targeted account must have permission to use the search box provided by the Admin Toolbar Search sub-module.
- Record
DRUPAL-CONTRIB-2021-025- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
drupal/admin_toolbarPackagist:https://packages.drupal.org/8 |
before 2.5.0, 3.0.0 to 3.0.0, 3.0.1 to 3.0.1 | 2.5.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
DRUPAL-CONTRIB-2021-025 is a vulnerability with no CVSS score yet in drupal/admin_toolbar, published August 25, 2021. No source lists public exploit code. Fixed in drupal/admin_toolbar 2.5.0.