Headline
CVE-2022-25276: Drupal core - Moderately critical - Multiple vulnerabilities - SA-CORE-2022-015
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 versions:
>= 8.0.0 <9.3.19 || >= 9.4.0 <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.
This advisory is not covered by Drupal Steward.
Solution:
Install the latest version:
- If you are using Drupal 9.4, update to Drupal 9.4.3.
- If you are using Drupal 9.3, update to Drupal 9.3.19.
All versions of Drupal 9 prior to 9.3.x are end-of-life and do not receive security coverage. Note that Drupal 8 has reached its end of life.
Drupal 7 core does not include the Media module and therefore is not affected.
Reported By:
- Heine of the Drupal Security Team
Fixed By:
- Lee Rowlands of the Drupal Security Team
- Alex Pott of the Drupal Security Team
- Samuel Mortenson
- xjm of the Drupal Security Team
- Heine of the Drupal Security Team
- Joseph Zhao, provisional member of the Drupal Security Team
- Vijay Mani, provisional member of the Drupal Security Team
- Alex Bronstein of the Drupal Security Team
- Neil Drumm of the Drupal Security Team
- Benji Fisher, provisional member of the Drupal Security Team
- Jen Lampton, provisional member of the Drupal Security Team
- Dave Long, provisional member of the Drupal Security Team
Related news
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.