Advisory

DRUPAL-CORE-2025-004

Also known as: BIT-drupal-2025-31675, CVE-2025-31675, GHSA-m4wj-hhwj-47qp

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2025-03-19 18:54 UTC
Modified
2026-09-19 14:49 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 10.3.14 (ecosystem)
  • introduced 10.4.0, fixed 10.4.5 (ecosystem)
  • introduced 11.0.0, fixed 11.0.13 (ecosystem)
  • introduced 11.1.0, fixed 11.1.5 (ecosystem)

Fixed versions

10.3.14, 10.4.5, 11.0.13, 11.1.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Drupal Advisory Database · MIT

Sources & licences