CVE-2022-25276
MEDIUM 6.1CVSS 3.1Lack of domain validation in Druple core
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.
- Published
- 26 Apr 2023
- Last modified
- 19 Sep 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-drupal-2022-25276DRUPAL-CORE-2022-015GHSA-4wfq-jc9h-vpcx
- Sources
- NVDJSONOSV DRUPAL-CORE-2022-015JSONOSV GHSA-4wfq-jc9h-vpcxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.3.0, < 9.3.19 | 9.3.19 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.4.0, < 9.4.3 | 9.4.3 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 9.3.19; >= 9.4.0, < 9.4.3 | 9.3.19, 9.4.3 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 9.3.19 | 9.3.19 |
| OSV | Packagist | drupal/core | >= 9.4.0, < 9.4.3 | 9.4.3 |
References
- https://www.drupal.org/sa-core-2022-015 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25276 · ADVISORY
- https://github.com/drupal/core · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 Apr 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Apr 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jul 2022)