CVE-2022-25276: Lack of domain validation in Druple core
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78372%
CWE
Published
4/26/2023
Updated
11/12/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| drupal/core | composer | >= 8.0.0, < 9.3.19 | 9.3.19 |
| drupal/core | composer | >= 9.4.0, < 9.4.3 | 9.4.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly mentions improper domain validation in the Media oEmbed iframe route. The OEmbedController::renderIframe method is the primary handler for oEmbed iframe rendering in Drupal's Media module. Before the patched versions, this controller did not implement proper domain validation checks when generating iframe content, allowing arbitrary domains to be embedded. This matches the CWE-79 (XSS) pattern of improper input validation during content generation. The confidence is high as this is the canonical oEmbed iframe handler and the vulnerability directly relates to its domain validation logic.