LowDRUPAL-CORE-2025-004BIT-drupal-2025-31675CVE-2025-31675GHSA-m4wj-hhwj-47qp

DRUPAL-CORE-2025-004 in drupal/core

Published 19 Mar 2025 · Updated 19 Sept 2026

Affected package

drupal/coreComposer
Affected
>=8.0.0 <10.3.14 · >=10.4.0 <10.4.5 · >=11.0.0 <11.0.13 · >=11.1.0 <11.1.5
Fixed in
10.3.14, 10.4.5, 11.0.13, 11.1.5
Update to the fixed version for your release line, for example:composer require drupal/core:^11.1.5

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.

Is DRUPAL-CORE-2025-004 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.