Drupal core didn't clean the attributes on Link fields well enough. A user who can set those attributes can make the site run their script in other visitors' browsers (cross-site scripting, or XSS). See Drupal's advisory.

Who is affected

Sites on an affected version of drupal/core that use the core Link module with at least one link field. The attacker also needs a way to add specific attributes to a link field. Drupal says that usually means edit access through core's web services, or through a contributed or custom module.

Sites with the Link module turned off, or with no link fields, aren't affected.

What to do

Update to the fixed release for your branch:

  • Drupal 10.3: update to 10.3.14
  • Drupal 10.4: update to 10.4.5
  • Drupal 11.0: update to 11.0.13
  • Drupal 11.1: update to 11.1.5

Drupal releases before 10.3 no longer get security fixes from the Drupal Security Team, so move to a supported branch.

Reported by Samuel Mortenson.