drupal/country — security advisory
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.
- Products
- drupal/country
- Affected versions
- Not specified
- Fixed versions
- 2.1.3, 2.2.1
- CVEs
- CVE-2026-107308
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 08:47 UTC · Revision 1
Source evidence
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.
osv:DRUPAL-CONTRIB-2026-211
drupal/country
Fixed versions: 2.1.3, 2.2.1
Complete source record
{
"id": "1709916127da002464c690f0593c426e22f43a17849cd34ba7eba90df0c8e2e3",
"url": "https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-211",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DRUPAL-CONTRIB-2026-211",
"summary": "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.",
"evidence": "osv:DRUPAL-CONTRIB-2026-211",
"products": [
{
"name": {
"value": "drupal/country",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.3",
"evidence": "/affected/0/ranges"
},
{
"value": "2.2.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DRUPAL-CONTRIB-2026-211",
"aliases": [
"CVE-2026-107308",
"DRUPAL-CONTRIB-2026-211"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.3"
}
],
"database_specific": {
"constraint": "<2.1.3"
}
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.1"
}
],
"database_specific": {
"constraint": ">=2.2.0 <2.2.1"
}
}
],
"package": {
"name": "drupal/country",
"purl": "pkg:composer/drupal/country?repository_url=https:%2F%2Fpackages.drupal.org%2F8",
"ecosystem": "Packagist:https://packages.drupal.org/8"
},
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/country/DRUPAL-CONTRIB-2026-211.json",
"affected_versions": "<2.1.3 || >=2.2.0 <2.2.1"
}
}
],
"modified": "2026-10-07T20:15:06.632630385Z",
"provider": "osv",
"references": [
"https://www.drupal.org/sa-contrib-2026-211"
]
},
"related_cves": [
{
"value": "CVE-2026-107308",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 97209,
"published_at": "2026-10-07T16:36:17+00:00"
}