SA-CONTRIB-2026-250: Critical severity drupal/datafield vulnerability
Data Field allows you to create custom fields with multiple values under the default table form. The fileuri formatter does not properly escape filenames when rendering links to uploaded files. This vulnerability is mitigated by the fact that an attacker must have a role with the permission to upload files into a Data Field file subfield.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
drupal/datafieldto a version that resolves this vulnerability.Fixed in 2.0.14 - Compensating control
Restrict the role permission to upload files into a Data Field file subfield to only trusted, authorized users.