Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    DRUPAL-CONTRIB-2026-339 (CVE-2026-126760)

    Vulnerability from drupal – Published: 2026-11-11 18:08 – Updated: 2026-11-11 18:08 – Source website
    VLAI
    Details

    This module provides a field type for storing structured data with multiple sub-fields, along with several widgets including a Search - autocomplete widget.

    The module’s autocomplete endpoint does not sufficiently escape stored field values before returning them as suggestion labels, which can allow cross-site scripting.

    This 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.


    {
      "affected": [
        {
          "database_specific": {
            "affected_versions": "\u003c2.0.15 || \u003e=3.0.0 \u003c3.0.1"
          },
          "package": {
            "ecosystem": "Packagist:https://packages.drupal.org/8",
            "name": "drupal/datafield"
          },
          "ranges": [
            {
              "database_specific": {
                "constraint": "\u003c2.0.15"
              },
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.15"
                }
              ],
              "type": "ECOSYSTEM"
            },
            {
              "database_specific": {
                "constraint": "\u003e=3.0.0 \u003c3.0.1"
              },
              "events": [
                {
                  "introduced": "3.0.0"
                },
                {
                  "fixed": "3.0.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "severity": []
        }
      ],
      "aliases": [
        "CVE-2026-126760"
      ],
      "credits": [
        {
          "contact": [
            "https://www.drupal.org/u/mcdruid"
          ],
          "name": "Drew Webber (mcdruid)"
        }
      ],
      "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\u2019s 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.",
      "id": "DRUPAL-CONTRIB-2026-339",
      "modified": "2026-11-11T18:08:08.000Z",
      "published": "2026-11-11T18:08:08.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://www.drupal.org/sa-contrib-2026-339"
        }
      ],
      "schema_version": "1.7.0"
    }