ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-226

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/csv_field
All versions before 2.0.10 (fixed in 2.0.10)
From 3.0.0 before 3.0.7 (fixed in 3.0.7)

References