Drupal Security Advisory
DRUPAL-CONTRIB-2026-211
Details
The module Country provides a dedicated field type for Drupal core's official country list.
The module does not sufficiently escape user input in its autocomplete widget, which can lead to a cross site scripting vulnerability.
This vulnerability is mitigated by the fact that it can not occur out of the box with the Country module, additional module(s) or custom code is required.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/country | All versions before 2.1.3 (fixed in 2.1.3) From 2.2.0 before 2.2.1 (fixed in 2.2.1) |