Cross-Site Scripting Vulnerability in Drupal Link Field Formatter

6.1MEDIUM

CVE-2025-31695

Key Information:

Vendor

Drupal

CVE ID
CVE ID:
CVE-2025-31695
Vendor
CVE Published:
31 March 2025
Fixed in
Fixed in:
1.6.0

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
Link field display mode formatter 0.0.0 to below 1.6.0 is vulnerable
Install Link field display mode formatter 1.6.0 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Link field display mode formatter. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.1).

What is CVE-2025-31695?

An improper neutralization of input during web page generation in the Drupal Link field display mode formatter can lead to cross-site scripting attacks. This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users, potentially compromising their sensitive information. The issue affects Link field display mode formatter versions prior to 1.6.0. For comprehensive details and mitigation strategies, please visit the official Drupal security advisory.

References

Improper Check in Drupal

CVE-2026-136716
DrupalDrupal CoreπŸ˜„πŸ‘Ύ9.8CRITICAL

Missing Authentication in Drupal

CVE-2026-132165
DrupalDrupal CoreπŸ”₯πŸ˜„πŸ‘Ύ8.1HIGH

Reflection Injection Vulnerability in Drupal Core

CVE-2026-108097
DrupalDrupal Core8.1HIGH
View more Drupal vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Credit

Daniel Wehner (dawehner)
Joseph Zhao (pandaski)
Benji Fisher (benjifisher)
Joseph Zhao (pandaski)
Rodrigo Aguilera (rodrigoaguilera)
Bram Driesen (bramdriesen)
Greg Knaddison (greggles)
Drew Webber (mcdruid)
Juraj Nemec (poker10)
.