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

Check your stack
DRUPAL-CORE-2021-006unknown

The Drupal core Media module allows embedding internal and external media in content fields.

Impact

The Drupal core Media module allows embedding internal and external media in content fields. In certain circumstances, the filter could allow an unprivileged user to inject HTML into a page when it is accessed by a trusted user with permission to embed media. In some cases, this could lead to cross-site scripting.

Source excerpt · OSV

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/core Packagist
Affected rangeRecorded fix
From 8.0.0 before 8.9.19Ecosystem versions8.9.19
From 9.1.0 before 9.1.13Ecosystem versions9.1.13
From 9.2.0 before 9.2.6Ecosystem versions9.2.6

Version evidence: OSV · DRUPAL-CORE-2021-006

View original version evidence (182 explicit versions)
drupal/entity_embed Packagist:https://packages.drupal.org/8
Affected rangeRecorded fix
Earlier releases before 1.2.0Ecosystem versions1.2.0

Version evidence: OSV · DRUPAL-CONTRIB-2021-028

View original version evidence (0 explicit versions)

Original source description

The Drupal core Media module allows embedding internal and external media in content fields. In certain circumstances, the filter could allow an unprivileged user to inject HTML into a page when it is accessed by a trusted user with permission to embed media. In some cases, this could lead to cross-site scripting.

This advisory is not covered by Drupal Steward.

Also see Entity Embed - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2021-028 which addresses a similar vulnerability for that module.

Updated 18:15 UTC to clarify text.

References