View online: https://www.drupal.org/sa-contrib-2026-318 Project: Texts: key-based strings and translations [1] Project machine name: texts Date: 2026-November-11 Security risk: *Moderately critical* 14 ∕ 25 AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:All [2] Vulnerability: Cross-site scripting Affected versions: <1.0.17 CVE IDs: CVE-2026-126727 Description: The Texts module provides key-based strings and translations for Drupal, including Twig filters for displaying translated text. The module does not sufficiently validate translation HTML and can display stored translations without sufficient filtering. A user who can create or edit string translations could inject JavaScript into pages that render those translations. This vulnerability is mitigated by the fact that an attacker must have the "Create string translation" or "Edit string translation" permission, and a site must render the affected text using the module’s Twig filters. Solution: Install the latest version: * Upgrade to Texts 1.0.17 [3]. If you cannot update immediately, you can reduce the risk with the following steps: 1) Go to /Configuration » Regional and language » Texts Settings/ (/admin/config/regional/texts), enable *Require "edit string translation" permission to create new texts entities*, and save. 2) Give the permissions "Create string translation" and "Edit string translation" only to trusted roles. 3) Check the existing texts at /admin/content/texts for unexpected HTML and remove it. These steps reduce the risk but do not fully fix the vulnerability. Update to the fixed release as soon as possible. Reported By: * Jens Vranckx (vrancje) [4] Fixed By: * Jon Minder (ayalon) [5] * Jens Vranckx (vrancje) [6] Coordinated By: * Swan Kalata (akalata) [7] of the Drupal Security Team * Bram Driesen (bramdriesen) [8] of the Drupal Security Team * Greg Knaddison (greggles) [9] of the Drupal Security Team * Juraj Nemec (poker10) [10] of the Drupal Security Team * Jess (xjm) [11] of the Drupal Security Team ------------------------------------------------------------------------------ Contribution record [12] [1] https://www.drupal.org/project/texts [2] https://www.drupal.org/drupal-security-team/security-risk-levels-defined [3] https://www.drupal.org/project/texts/releases/1.0.17 [4] https://www.drupal.org/u/vrancje [5] https://www.drupal.org/u/ayalon [6] https://www.drupal.org/u/vrancje [7] https://www.drupal.org/u/akalata [8] https://www.drupal.org/u/bramdriesen [9] https://www.drupal.org/u/greggles [10] https://www.drupal.org/u/poker10 [11] https://www.drupal.org/u/xjm [12] https://new.drupal.org/contribution-record?source_link=https%3A//www.drupal....