CVE-2022-25276: Lack of domain validation in Druple core

Published Apr 26, 2023
·
Updated

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

8 affected componentsFixes available
composer/drupal/core>=9.4.0<9.4.3
9.4.3
composer/drupal/core>=8.0.0<9.3.19
9.3.19
Drupal Drupal>=9.3.0<9.3.19
Drupal Drupal>=9.4.0<9.4.3
composer/drupal/core>=9.4.0, <9.4.3
9.4.3
composer/drupal/core>=8.0.0, <9.3.19
9.3.19
ubuntu/drupal7*
ubuntu/drupal7*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 9.4.3
  2. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 9.3.19

Event History

Apr 26, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Data Sourced
03:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
03:30 PM
Data Sourced
via Packagist·03:30 PM
DescriptionSeverityAffected Software
Nov 12, 2023
Advisory Published
05:03 AM
Data Sourced
via GitHub·05:03 AM
DescriptionSeverityWeaknessAffected Software
Jun 17, 2026
Data Sourced
via NVD·04:33 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·04:33 AM
SeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-25276?

The severity of CVE-2022-25276 is medium.

2

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.

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203