Advisory

DRUPAL-CORE-2021-006

Also known as: CVE-2020-13673, DRUPAL-CONTRIB-2021-028

Summary

The record has no summary.

Details

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](/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.*

Severity

Not rated by the source.

Dates

Published
2021-09-15 15:18 UTC
Modified
2026-09-19 16:54 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 8.9.19 (ecosystem)
  • introduced 9.1.0, fixed 9.1.13 (ecosystem)
  • introduced 9.2.0, fixed 9.2.6 (ecosystem)

Fixed versions

8.9.19, 9.1.13, 9.2.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Drupal Advisory Database · MIT

Sources & licences