CVE-2022-25276Drupal
Medium 6.1 No auth needed
Follow: this CVE · Drupal · Drupal We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- No
- Published
- Apr 26, 2023
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for Drupal.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 9.3.19 |
9.3.19 |
composer require "drupal/core:^9.3.19" |
| Packagist | drupal/core |
≥ 9.4.0 < 9.4.3 |
9.4.3 |
composer require "drupal/core:^9.4.3" |
| Packagist | drupal/core |
≥ 8.0.0 < 9.3.19 |
9.3.19 |
composer require "drupal/core:^9.3.19" |
| Packagist | drupal/core |
≥ 9.4.0 < 9.4.3 |
9.4.3 |
composer require "drupal/core:^9.4.3" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2022-015, GHSA-4wfq-jc9h-vpcx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 9.3.0 < 9.3.19 |
| drupal | drupal | ≥ 9.4.0 < 9.4.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.drupal.org Vendor Advisory