SEVERITY NOT PROVIDED EPSS 0.3% · 13th percentile

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade

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
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.

References

Source records: DRUPAL-CONTRIB-2026-318 (OSV.dev) · EPSS by FIRST, 2026-11-27.