Drupal security updates, in plain English · Module

Leaflet

30,905 sites report using it · on drupal.org · 1 security release explained here

It provides integration with a specific mapping library to display maps.

Below is every security release for Leaflet that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Leaflet

Moderately critical · 30,905 sites report using it · SA-CONTRIB-2026-204 · on drupal.org · Week of 7 October 2026

It provides integration with a specific mapping library to display maps.

A content editor could place malicious scripts in map titles. These scripts could run in the web browser of anyone viewing the map. This could allow someone to see or change restricted data.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youA site is affected if an attacker has an access right to create or edit content that is used in a map.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Leaflet to 10.4.13.

For developers: what the fix changed

Removes entity decoding of tooltip values in the LeafletMap style plugin and updates the JavaScript alternative text extraction to use DOMParser instead of a regular expression to prevent cross site scripting.

Also in this release Adds configuration schema settings for popup and marker clustering options, updates JavaScript to preserve original features implementation, and removes underline tags from user interface strings.

10.4.12 to 10.4.13 5 commits, 8 files.

  • config/schema/leaflet.schema.yml +12 −0
  • css/leaflet_general.css +3 −3
  • js/leaflet.drupal.js +1 −1 fix
  • modules/leaflet_markercluster/leaflet_markercluster.drupal.js +18 −0
  • modules/leaflet_views/src/Plugin/views/style/LeafletMap.php +2 −4 fix
  • sass/leaflet_general.scss +3 −3
  • src/LeafletSettingsElementsTrait.php +11 −11
  • src/Plugin/Field/FieldFormatter/LeafletDefaultFormatter.php +42 −12

Full diff, 10.4.12 to 10.4.13

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.