Drupal Data Field Module Patched for Stored XSS Flaw

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
Drupal Data Field Module Patched for Stored XSS Flaw
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A stored cross-site scripting (XSS) vulnerability in the Drupal Data field module has been patched. The flaw, rated as moderately critical, affects versions prior to 2.0.15 and 3.0.1. It allows attackers with edit permissions to inject malicious code via the module's autocomplete widget. Patches are available for both major version branches.

Key points

  • The vulnerability, identified as CVE-2026-126760, is a stored cross-site scripting (XSS) issue in the Drupal Data field module.
  • It affects Data field versions 0.0.0 through 2.0.14 and 3.0.0 through 3.0.0.
  • The flaw arises because the module's 'Search - autocomplete' widget does not sufficiently escape stored field values before returning them as suggestion labels.
  • Exploitation requires an attacker to have permission to edit an entity containing a Data Field field and for the autocomplete widget to be configured on that field.
  • Patches are available in Data field version 2.0.15 for the 2.0.x branch and version 3.0.1 for the 3.0.x branch.
  • The vulnerability was rated 'Moderately critical' on Drupal's security risk scale (12/25) and classified as CWE-79 (Improper Neutralization of Input During Web Page Generation).

Background

This disclosure follows a series of recent cross-site scripting vulnerabilities in other platforms, including flaws in the Azure Portal, MediaWiki Math Extension, Jenkins Performance Plugin, and WordPress WP User Manager plugin reported in late November 2026. The Drupal Data field issue is part of a broader wave of security advisories for the Drupal ecosystem in late November 2026, which also included a critical remote code execution vulnerability in Drupal core's installer that was actively exploited in the wild. The current XSS flaw was disclosed by the Drupal Security Team on November 11, 2026, and fixed by contributors Joseph Olstad and NGUYEN Bao.

Why it matters

Stored XSS vulnerabilities can allow attackers to execute malicious scripts in the context of other users' sessions, potentially leading to session hijacking, data theft, or defacement of websites. Although this specific flaw requires edit permissions, it poses a risk to Drupal sites that use the Data field module with autocomplete widgets, particularly if those permissions are granted to untrusted users. Timely patching is essential to prevent exploitation.

What to watch

Site administrators using the Drupal Data field module should update to version 2.0.15 or 3.0.1 immediately to mitigate the risk. Given the recent active exploitation of a critical Drupal core vulnerability, organizations should also ensure all Drupal components are up to date and monitor for any further security advisories from the Drupal Security Team.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar