SA-CONTRIB-2026-226: Critical severity drupal/csv_field vulnerability
This module enables you to upload CSV files to a field and display them as an interactive, sortable and searchable table. The module doesn't sufficiently escape CSV cell and header values before passing them to the DataTables library, leading to a potential cross-site scripting vulnerability. This vulnerability is mitigated by the fact that an attacker must have a role with permission to create or edit content that contains a CSV field.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
drupal/csv_fieldto a version that resolves this vulnerability.Fixed in 3.0.7Fixed in 2.0.10