CVE-2026-126727: The Texts module provides key-based strings and translations for Drupal, including Twig filters for displaying translated text. The module does not sufficiently validate translatio
Published 2026-11-11 · Updated 2026-11-11 · Also known as DRUPAL-CONTRIB-2026-318
Summary
The Texts module for Drupal insufficiently validates translation HTML, allowing stored cross-site scripting (XSS). Drupal administrators and security teams overseeing sites using this module should review permissions and apply updates.
Who is affected
Affected deployments are Drupal sites using the Texts module where translations are rendered via its Twig filters. An attacker requires 'Create string translation' or 'Edit string translation' permissions to inject malicious JavaScript into pages rendering those translations.
Exploitability
The CVSS vector is not provided, the EPSS is not yet available, and CISA Known Exploited Vulnerabilities status is no.
Remediation
- Check for updates to the Texts module.
- Restrict 'Create string translation' and 'Edit string translation' permissions to trusted users.
How to check your project
- Check if the Texts module is installed in the Drupal codebase.
- Search project dependencies and module lists for the Texts module for Drupal.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|
FAQ
What is CVE-2026-126727?
It is a vulnerability in the Texts module for Drupal where insufficient validation of translation HTML can lead to stored cross-site scripting.
What are the prerequisites for exploitation?
An attacker must possess either the 'Create string translation' or 'Edit string translation' permission, and the site must render the affected text using the module's Twig filters.
Is there a fixed version available?
No fixed version is published in the provided data.
Original advisory description
References
Source records: DRUPAL-CONTRIB-2026-318 (OSV.dev) · EPSS by FIRST, 2026-11-27.