CVE-2022-25276
JSON

6.1medium

Lack of domain validation in Druple core

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.62% (higher than 44% of CVEs)
Published
Last changed
Assigned by
drupal
Also known as
GHSA-4wfq-jc9h-vpcxBIT-DRUPAL-2022-25276DRUPAL-CORE-2022-015

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

Product or packageVersionsReported by
Drupal Corefrom 9.4 before 9.4.3, from 9.3 before 9.3.19CVE List
drupal/core (Packagist)from 8.0.0 before 9.3.19, from 9.4.0 before 9.4.3GitHub Advisory Database, Drupal Security Team
drupal drupalfrom 9.3.0 before 9.3.19, from 9.4.0 before 9.4.3NVD
drupal (Bitnami)from 9.3.0 before 9.3.19, from 9.4.0 before 9.4.3Bitnami Vulnerability Database

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

Drupal Security Team

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.

This advisory is not covered by Drupal Steward.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25276 changed 2025-02-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-4wfq-jc9h-vpcx changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CORE-2022-015 changed 2026-09-19MIT
NVDCVE-2022-25276 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DRUPAL-2022-25276 changed 2026-09-08Apache-2.0