Advisory

GHSA-4wfq-jc9h-vpcx

Also known as: BIT-drupal-2022-25276, CVE-2022-25276, DRUPAL-CORE-2022-015

Summary

Lack of domain validation in Druple core

Details

The Media oEmbed iframe route does not properly validate the iframe domain setting, which allows embeds to be displayed in the context of the primary domain. Under certain circumstances, this could lead to cross-site scripting, leaked cookies, or other vulnerabilities.

Drupal 7 core does not include the Media module and therefore is not affected.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-04-26 15:30 UTC
Modified
2025-12-10 23:41 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 9.3.19 (ecosystem)

Fixed versions

9.3.19

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 9.4.0, fixed 9.4.3 (ecosystem)

Fixed versions

9.4.3

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences