drupal/yoast_seo - SA-CONTRIB-2025-091
This module enables you to analyze the content that you're authoring for a website. It shows you a preview of what a search result might look like.
The module doesn't sufficiently escape the metadata from content while rendering the preview, opening up the possibility of a XSS attack.
This vulnerability is mitigated by the fact that an attacker must be able to author content that is analyzed by the Real-Time SEO module.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/yoast_seo | >= 2.0.0, < 2.2.0 | 2.2.0 |
| Drupal module | drupal/yoast_seo | >= 2.0.0, < 2.2.0 | 2.2.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/yoast_seo- Disclosed
- 16.07.2025
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-091 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/yoast_seo
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.