Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/drupal
  4. ›
  5. CVE-2022-25276

CVE-2022-25276: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

April 26, 2023 (updated May 5, 2023)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2022-25276
  • www.drupal.org/sa-core-2022-015

Code Behaviors & Features

Detect and mitigate CVE-2022-25276 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 before 9.3.19, all versions starting from 9.4.0 before 9.4.3

Fixed versions

  • 9.3.19
  • 9.4.3

Solution

Upgrade to version 9.3.19, 9.4.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/drupal/drupal/CVE-2022-25276.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.