Quick answers
- Is CVE-2026-126727 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-126727 being exploited in the wild.
- How severe is CVE-2026-126727?
- Informational severity, published 11 November 2026.
- Which products and versions are affected?
- Drupal Texts <1.0.17; Packagist:Https://Packages.Drupal.Org/8 Drupal/Texts ECOSYSTEM:introduced=0,fixed=1.0.17.
- Is there a fix for CVE-2026-126727?
- Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Texts: upgrade to 1.0.17 or later. Until then: Go to Configuration » Regional and language » Texts Settings, enable "Require edit string translation permission to create new texts entities," and restrict the "Create string translation" and "Edit string translation" permissions to trusted roles only. Review existing texts at /admin/content/texts for unexpected HTML and remove it. These steps reduce risk but do not fully fix the vulnerability; upgrade as soon as possible. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-126727 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-126727?
- Check whether you run Drupal Texts or Packagist:Https://Packages.Drupal.Org/8 Drupal/Texts at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Packagist:Https://Packages.Drupal.Org/8 Drupal/Texts: upgrade to 1.0.17 or later
Go to Configuration » Regional and language » Texts Settings, enable "Require edit string translation permission to create new texts entities," and restrict the "Create string translation" and "Edit string translation" permissions to trusted roles only. Review existing texts at /admin/content/texts for unexpected HTML and remove it. These steps reduce risk but do not fully fix the vulnerability; upgrade as soon as possible.
Technical details
The module fails to adequately sanitize HTML in stored translation strings before rendering them via Twig filters, enabling stored XSS. An authenticated attacker with "Create string translation" or "Edit string translation" permissions can inject JavaScript into translations that will execute in visitors' browsers when the module's Twig filters render them. The vulnerability requires both elevated permissions and use of the affected Twig filters.
Affected products
- Drupal Texts <1.0.17
Identifiers
- CVE-2026-126727
- DRUPAL-CONTRIB-2026-318
Timeline
- 2026-11-11: disclosed