{"id":"CVE-2026-126760","aliases":["CVE-2026-126760","DRUPAL-CONTRIB-2026-339"],"related":[],"kind":"vulnerability","state":"published","title":"Data field - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-339","summary":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Data field allows Stored XSS. This issue affects Data field versions: from 0.0.0 to 2.0.15, from 3.0.0 to 3.0.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Data field allows Stored XSS. This issue affects Data field versions: from 0.0.0 to 2.0.15, from 3.0.0 to 3.0.1.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"drupal"}],"published":"2026-11-11T18:08:08.000Z","modified":"2026-11-26T00:44:40.423Z","severities":[],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"2.0.15","status":"affected"},{"type":"semver","introduced":"3.0.0","fixed":"3.0.1","status":"affected"}],"vendor":"Drupal","product":"Data field","repo":"https://git.drupalcode.org/project/datafield","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.0.15"},{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.1"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/datafield","purl":"pkg:composer/drupal/datafield?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-339","tags":["web"],"sources":["cvelist","drupal"]}],"credits":["Drew Webber (mcdruid)","Joseph Olstad (joseph.olstad)","NGUYEN Bao (lazzyvn)","Swan Kalata (akalata)","Bram Driesen (bramdriesen)","Greg Knaddison (greggles)","Jess  (xjm)"],"assigner":"drupal","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126760","url":"https://www.cve.org/CVERecord?id=CVE-2026-126760","licence":"CVE Terms of Use","modified":"2026-11-26T00:44:40.423Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2026-339","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-339","licence":"MIT","modified":"2026-11-11T18:45:03.731Z"}],"updatedAt":"2026-11-26T00:57:25.745Z","epss":{"score":0.00264,"percentile":0.19583,"date":"2026-12-01T12:00:22.000Z"}}