drupal/datafield - SA-CONTRIB-2026-339
This module provides a field type for storing structured data with multiple sub-fields, along with several widgets including a Search - autocomplete widget.
The module’s autocomplete endpoint does not sufficiently escape stored field values before returning them as suggestion labels, which can allow cross-site scripting.
This vulnerability is mitigated by the fact that the attacker must have permission to edit an entity carrying a Data Field field. The Search - autocomplete widget must also be configured on that field.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/datafield | < 2.0.15, >= 3.0.0, < 3.0.1 | 2.0.15, 3.0.1 |
| Drupal module | drupal/datafield | < 2.0.15, >= 3.0.0, < 3.0.1 | 2.0.15, 3.0.1 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/datafield- Disclosed
- 11.11.2026
- Updated
- 11.11.2026 20:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-339 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/datafield
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 08.2023 11.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 4
Disclosures per year
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 3
-
drupal/datafield - SA-CONTRIB-2026-339 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.