{"id":"DRUPAL-CONTRIB-2026-339","details":"This module provides a field type for storing structured data with multiple sub-fields, along with several widgets including a *Search - autocomplete* widget.\n\nThe module’s autocomplete endpoint does not sufficiently escape stored field values before returning them as suggestion labels, which can allow cross-site scripting.\n\nThis 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.","aliases":["CVE-2026-126760"],"modified":"2026-11-11T18:45:03.731521667Z","published":"2026-11-11T18:08:08Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-339"}],"affected":[{"package":{"name":"drupal/datafield","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/datafield?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15"}],"database_specific":{"constraint":"\u003c2.0.15"}},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"}],"database_specific":{"constraint":"\u003e=3.0.0 \u003c3.0.1"}}],"database_specific":{"affected_versions":"\u003c2.0.15 || \u003e=3.0.0 \u003c3.0.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/datafield/DRUPAL-CONTRIB-2026-339.json"}}],"schema_version":"1.9.2","credits":[{"name":"Drew Webber (mcdruid)","contact":["https://www.drupal.org/u/mcdruid"]}]}