drupal/country is vulnerable to Cross-Site Scripting (XSS)
40
CVE Score
Medium
Cross-Site Scripting (XSS)
The Country module provides a field type for Drupal core's official country list. The autocomplete widget does not sufficiently escape user input, which can lead to cross-site scripting. This vulnerability is mitigated by the fact that it cannot occur with the Country module alone; additional modules or custom code are required. Exploitation also requires administrator permissions and an uncommon configuration.
Upgrade the drupal/country library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and use the Country autocomplete widget with additional modules or custom code that puts untrusted strings into the country name list.
0.0.1 - 2.1.2
Fixed in 2.1.32.2.0 - 2.2.0
Fixed in 2.2.1drupal/country is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 2.1.2 and 2.2.0 - 2.2.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.