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 package | Versions | Reported by |
|---|---|---|
| Drupal Core | from 9.4 before 9.4.3, from 9.3 before 9.3.19 | CVE List |
| drupal/core (Packagist) | from 8.0.0 before 9.3.19, from 9.4.0 before 9.4.3 | GitHub Advisory Database, Drupal Security Team |
| drupal drupal | from 9.3.0 before 9.3.19, from 9.4.0 before 9.4.3 | NVD |
| drupal (Bitnami) | from 9.3.0 before 9.3.19, from 9.4.0 before 9.4.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://www.drupal.org/sa-core-2022-015 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-25276 | advisory, web | |
| https://github.com/drupal/core | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25276 changed 2025-02-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4wfq-jc9h-vpcx changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CORE-2022-015 changed 2026-09-19 | MIT |
| NVD | CVE-2022-25276 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DRUPAL-2022-25276 changed 2026-09-08 | Apache-2.0 |