CVE-2022-25276: Lack of domain validation in Druple core
Lack of domain validation in Druple core
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 9.4.3 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 9.3.19
Event History
Frequently Asked Questions
What is the severity of CVE-2022-25276?
The severity of CVE-2022-25276 is medium.
How does CVE-2022-25276 affect Drupal?
CVE-2022-25276 affects Drupal versions 9.3.0 to 9.3.19 and 9.4.0 to 9.4.3.
What can happen if CVE-2022-25276 is exploited?
Exploiting CVE-2022-25276 can lead to cross-site scripting, leaked cookies, or other vulnerabilities.
How can I fix CVE-2022-25276 in Drupal?
To fix CVE-2022-25276 in Drupal, update to version 9.4.3 if you're using versions 9.4.0 to 9.4.2, or update to version 9.3.19 if you're using versions 9.3.0 to 9.3.18.
Where can I find more information about CVE-2022-25276?
You can find more information about CVE-2022-25276 on the NIST National Vulnerability Database (NVD), Drupal Security Advisory, and GitHub Advisories.