Skip to content
OpenAdvisories
Unscored CVE-2026-126727 DRUPAL-CONTRIB-2026-318

The Texts module provides key-based strings and translations for Drupal, including Twig filters for displaying translated text. The module …

Published Nov 11, 2026 · Updated Nov 11, 2026 · Assigned by DRUPAL

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/texts < 1.0.17 1.0.17 DRUPAL-CONTRIB-2026-318

Advisories 1

References