SA-CONTRIB-2026-381: XSS
This module is an advanced Geofield mapping solution compatible with Geofield and Google Maps. The module does not correctly sanitize some data. As a result, a user who can create or edit content can store JavaScript that runs for every visitor who opens the marker, administrators included. This can lead to cross-site scripting (XSS).
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/geofield_mapto a version that resolves this vulnerability.Fixed in 11.1.10
Event History
Frequently Asked Questions
Who can exploit this issue?
A user who can create or edit content can store JavaScript in affected data. The script runs when a visitor opens the marker, including when the visitor is an administrator.
Are administrators at risk even if they did not create the malicious content?
Yes. Stored JavaScript executes for every visitor who opens the affected marker, and the advisory explicitly includes administrators among potential victims.