GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

DRUPAL-CONTRIB-2021-025unknown

DRUPAL-CONTRIB-2021-025

No CVE assignedCheck your stack

The advisory, in context

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.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

drupal/admin_toolbar Packagist:https://packages.drupal.org/8
Ecosystem versions

Earlier releases before 2.5.0

Fixed in 2.5.0

Ecosystem versions

From 3.0.0 through 3.0.0 (inclusive)

No fix recorded for this interval.

Ecosystem versions

From 3.0.1 through 3.0.1 (inclusive)

No fix recorded for this interval.

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "2.5.0"
        }
      ],
      "type": "ECOSYSTEM",
      "database_specific": {
        "constraint": "<2.5.0"
      }
    },
    {
      "events": [
        {
          "introduced": "3.0.0"
        },
        {
          "last_affected": "3.0.0"
        }
      ],
      "type": "ECOSYSTEM",
      "database_specific": {
        "constraint": "3.0.0"
      }
    },
    {
      "events": [
        {
          "introduced": "3.0.1"
        },
        {
          "last_affected": "3.0.1"
        }
      ],
      "type": "ECOSYSTEM",
      "database_specific": {
        "constraint": "3.0.1"
      }
    }
  ],
  "versions": []
}

References