Skip to content
OpenAdvisories
Medium · 6.1 CVE-2022-25276 BIT-drupal-2022-25276DRUPAL-CORE-2022-015GHSA-4wfq-jc9h-vpcx

Lack of domain validation in Druple core

Published Apr 26, 2023 · Updated Feb 3, 2025 · Assigned by drupal

Description

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.

Affected products

VendorProductAffectedFixed
Drupal Core 9.4 – < 9.4.3, 9.3 – < 9.3.19 9.4.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS drupal7 No fix yet —
Ubuntu Pro 14.04 LTS drupal7 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 8.0.0, < 9.3.19 · >= 9.4.0, < 9.4.3 9.3.19, 9.4.3 DRUPAL-CORE-2022-015
Packagist drupal/core >= 8.0.0, < 9.3.19 9.3.19 GHSA-4wfq-jc9h-vpcx
Packagist drupal/core >= 9.4.0, < 9.4.3 9.4.3 GHSA-4wfq-jc9h-vpcx

References