Vulnerability advisory

DRUPAL-CORE-2025-004

Published Updated OSV record ↗

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

Severity

Severity not reported.

Affected versions

AffectedFixed in
8.0.0 to before 10.3.1410.3.14Advisories →
10.4.0 to before 10.4.510.4.5Advisories →
11.0.0 to before 11.0.1311.0.13Advisories →
11.1.0 to before 11.1.511.1.5Advisories →
Also listed as affected (389)

Description

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools