DRUPAL-CONTRIB-2026-318

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/texts/DRUPAL-CONTRIB-2026-318.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-318
Aliases
  • CVE-2026-126727
Published
2026-11-11T17:41:15Z
Modified
2026-11-11T18:45:04Z
Summary
[none]
Details

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
Credits

Affected packages

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

Package

Name
drupal/texts
Purl
pkg:composer/drupal/texts?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

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

Database specific

affected_versions
"<1.0.17"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/texts/DRUPAL-CONTRIB-2026-318.json"