DRUPAL-CONTRIB-2026-035

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/gtranslate/DRUPAL-CONTRIB-2026-035.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-035
Aliases
  • CVE-2026-8492
Published
2026-05-13T17:17:42Z
Modified
2026-05-13T19:00:19.382910Z
Summary
[none]
Details

The GTranslate module provides a language switcher widget for Drupal sites.

The module’s widget JavaScript did not sufficiently validate that document.currentScript referred to the executing script element. A user who can add HTML to a page could cause the generated language-switcher links to point to an unintended domain.

This vulnerability is mitigated by the fact that an attacker must be able to add HTML with attributes that are not allowed by Drupal’s default CKEditor configuration. It is also limited to sites using the paid versions of GTranslate widget JavaScript and configurations where the generated language links use script-provided values.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/gtranslate

Package

Name
drupal/gtranslate
Purl
pkg:composer/drupal/gtranslate

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.5
Database specific
{
    "constraint": "<3.0.5"
}

Database specific

source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/gtranslate/DRUPAL-CONTRIB-2026-035.json"
affected_versions
"<3.0.5"