# DRUPAL-CONTRIB-2021-025: The Admin Toolbar (admintoolbar) module extends the default toolbar provided by Drupal Core with various features facilitating day-to-day e…

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-08-25T14:36:25.000Z
- Modified: 2026-09-10T03:45:12.997Z

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

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.

(As written by Drupal Security Team.)

## Affected

- drupal/admin_toolbar (Packagist:https://packages.drupal.org/8): before 2.5.0; from 3.0.0 up to 3.0.0; from 3.0.1 up to 3.0.1

## References

- <https://www.drupal.org/sa-contrib-2021-025> (web)

## Sources

- Drupal Security Team: [DRUPAL-CONTRIB-2021-025](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2021-025), MIT, modified 2026-09-10

---

Page: https://cve.day/DRUPAL-CONTRIB-2021-025 · Whole record: https://cve.day/DRUPAL-CONTRIB-2021-025.json · Rebuilt by cve.day 2026-11-25T22:56:30.125Z
