DRUPAL-CONTRIB-2026-339

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/datafield/DRUPAL-CONTRIB-2026-339.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-339
Aliases
  • CVE-2026-126760
Published
2026-11-11T18:08:08Z
Modified
2026-11-11T18:45:03Z
Summary
[none]
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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/datafield

Package

Name
drupal/datafield
Purl
pkg:composer/drupal/datafield?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.15
Database specific
Show details
{
    "constraint": "<2.0.15"
}
Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.0.1
Database specific
Show details
{
    "constraint": ">=3.0.0 <3.0.1"
}

Database specific

affected_versions
"<2.0.15 || >=3.0.0 <3.0.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/datafield/DRUPAL-CONTRIB-2026-339.json"