Not scored
Data field - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-339
- Severity
- Not scored
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- DRUPAL-CONTRIB-2026-339
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal Data field | from 0.0.0 before 2.0.15, from 3.0.0 before 3.0.1 | CVE List |
| drupal/datafield (Packagist:https://packages.drupal.org/8) | before 2.0.15, from 3.0.0 before 3.0.1 | Drupal Security Team |
Classification
What each source says
CVE List
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.
Drupal Security Team
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126760 changed 2026-11-26 | CVE Terms of Use |
| Drupal Security Team | DRUPAL-CONTRIB-2026-339 changed 2026-11-11 | MIT |