{"id":"CVE-2026-107308","kind":"vulnerability","aliases":["CVE-2026-107308"],"related":[],"title":"Drupal Country module: cross-site scripting flaw in web page output","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Country allows Cross-Site Scripting (XSS). This issue affects Country versions: from 0.0.0 to 2.1.3, from 2.2.0 to 2.2.1.","summary":"The Drupal Country module does not neutralize some input when it generates web pages, which allows cross-site scripting. An attacker can get script to run in a visitor's browser on affected sites.","severity":"unknown","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["drupal","package","php","self-hosted"],"not_affected_if":["module-not-installed"],"how_to_check":"- Check the installed Country module version in the Drupal project (for example with `drush pm:list` or the module's info file).\n- Look for versions from `0.0.0` to `2.1.3` or `2.2.0` to `2.2.1` in the lockfile or `composer.lock`.","fix":"- Country module: move to a version above `2.2.1` (the sources do not name the exact fixed release).","status":"open","published_at":"2026-10-30T04:17:58+00:00","first_seen_at":"2026-10-30T04:28:36+00:00","triaged_at":"2026-10-30T04:31:25+00:00","updated_at":"2026-10-30T04:31:25+00:00","category":"package","confidence":0.5,"triage":{"at":"2026-10-30T04:31:25Z","model":"claude-haiku-5-5","output":{"fix":"- Country module: move to a version above `2.2.1` (the sources do not name the exact fixed release).","reach":"internet","title":"Drupal Country module: cross-site scripting flaw in web page output","impact":"medium","summary":"The Drupal Country module does not neutralize some input when it generates web pages, which allows cross-site scripting. An attacker can get script to run in a visitor's browser on affected sites.","audience":"businesses","category":"package","nicknames":[],"who_cares":["drupal","php","self-hosted"],"confidence":0.5,"fix_status":"unknown","needs_auth":"unknown","worst_case":"script runs in visitors' browsers on the affected site","analyst_note":"Confirm the fixed Country module version and which input fields are affected at the NVD entry or the Drupal security advisory.","how_to_check":"- Check the installed Country module version in the Drupal project (for example with `drush pm:list` or the module's info file).\n- Look for versions from `0.0.0` to `2.1.3` or `2.2.0` to `2.2.1` in the lockfile or `composer.lock`.","plain_action":"","needs_analyst":true,"not_affected_if":["module-not-installed"],"who_is_affected":"Sites running the Drupal Country module in the affected version ranges are exposed when user-supplied input is rendered into pages. Sites that do not use the Country module can skip it. The sources do not say which Country features or fields are involved.","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.00068,"input_tokens":4126,"output_tokens":535,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-107308':15A,18A '-2026':14A,17A '0.0.0':88C '2.1.3':90C '2.2.0':92C '2.2.1':94C 'affect':58B,84C 'allow':40B,76C 'attack':46B 'browser':56B 'countri':2A,27B,75C,85C 'cross':5A,42B,69C,78C 'cross-sit':4A,41B,68C,77C 'cve':13A,16A 'drupal':1A,19B,26B,74C 'flaw':8A 'generat':36B,67C 'get':48B 'host':24B 'improp':60C 'input':33B,63C 'issu':83C 'modul':3A,28B 'neutral':31B,61C 'output':12A 'packag':20B 'page':11A,38B,66C 'php':21B 'run':51B 'script':7A,44B,49B,71C,80C 'self':23B 'self-host':22B 'site':6A,43B,59B,70C,79C 'version':86C 'visitor':54B 'vulner':72C 'web':10A,37B,65C 'xss':81C","nicknames":[],"mitigations":[],"who_affected":"Sites running the Drupal Country module in the affected version ranges are exposed when user-supplied input is rendered into pages. Sites that do not use the Country module can skip it. The sources do not say which Country features or fields are involved.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T04:17:58+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-107308","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107308","severity":null,"published_at":"2026-10-30T04:17:58+00:00","modified_at":"2026-10-30T04:17:58+00:00","first_seen_at":"2026-10-30T04:28:36+00:00","fetched_at":"2026-10-30T04:28:36+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}