Vulnerability · Published Apr 26, 2023 · Assigned by drupal

CVE-2022-25276

Medium 6.1

In plain English

A medium-severity cross-site scripting in Core from Drupal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.5%top 55.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistdrupal/core9.3.19, 9.4.3DRUPAL-CORE-2022-015
Packagistdrupal/core9.3.19GHSA-4wfq-jc9h-vpcx
Packagistdrupal/core9.4.3GHSA-4wfq-jc9h-vpcx

Affected products (as reported)

VendorProductVersions
Drupal Core 9.4 – before 9.4.39.3 – before 9.3.19

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References