Drupal security updates, in plain English · Module

Translate Drupal with GTranslate

13,779 sites report using it · on drupal.org · 1 security update explained here

This module provides a tool that translates the website into different languages.

Below is every security update for Translate Drupal with GTranslate 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.

Translate Drupal with GTranslate

Less critical · 13,779 sites report using it · SA-CONTRIB-2026-035 · on drupal.org · Week of 13 May 2026

An administrator could change the language links so that they send visitors to a different website. They could alter these links to point elsewhere. They could not view any private information.

  • Who could do thisOnly someone with an administrator login.
  • Does it apply to youThis applies if a user can add website code with restricted attributes on a site using the paid version of the tool where the language links use script provided values.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this less critical. Fix it with the next routine update.

Tell your developerUpdate Translate Drupal with GTranslate to 3.0.5.

For developers: what the fix changed

The fix adds a check at the beginning of the IIFE in multiple JavaScript files (e.g., `js/dropdown.js`, `js/dwf.js`) to ensure `document.currentScript` is an instance of `HTMLScriptElement`, preventing DOM clobbering attacks.

Also in this release The release also added a language weights configuration option, switched from sessionStorage to localStorage, and added lazy loading to flag images.

3.0.4 to 3.0.5 2 commits, 15 files.

  • config/install/gtranslate.settings.yml +2 −1
  • js/dropdown.js +14 −8 fix
  • js/dwf.js +14 −21 fix
  • js/fc.js +16 −9 fix
  • js/fd.js +16 −9 fix
  • js/flags.js +16 −9 fix
  • js/float.js +15 −9 fix
  • js/fn.js +16 −10 fix
  • js/globe.js +15 −9
  • js/lc.js +15 −9
  • js/ln.js +15 −10
  • js/popup.js +15 −10

Full diff, 3.0.4 to 3.0.5

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.