Drupal Security Advisory
DRUPAL-CORE-2025-004
Details
Drupal core Link field attributes are not sufficiently sanitized, which can lead to a Cross Site Scripting vulnerability (XSS).
This vulnerability is mitigated by that fact that an attacker would need to have the ability to add specific attributes to a Link field, which typically requires edit access via core web services, or a contrib or custom module.
Sites with the Link module disabled or that do not use any link fields are not affected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | drupal/core | From 8.0.0 before 10.3.14 (fixed in 10.3.14) From 10.4.0 before 10.4.5 (fixed in 10.4.5) From 11.0.0 before 11.0.13 (fixed in 11.0.13) From 11.1.0 before 11.1.5 (fixed in 11.1.5) |