CVE-2026-126727: Stored XSS in Drupal Texts before 1.0.17
CVE-2026-126727 is a stored cross-site scripting vulnerability in the Drupal Texts: key-based strings and translations module before version 1.0.17. Insufficient validation and filtering of translation HTML allows a user with translation creation or editing permissions to store malicious JavaScript in translations. The JavaScript executes in visitors’ browsers when affected translations are rendered through the module’s Twig filters.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attacker-controlled JavaScript executes in the security context of the affected Drupal site when visitors view pages containing malicious translations, compromising the confidentiality and integrity of browser-accessible information and interactions. The vulnerability is rated moderately critical, with a security risk score of 14/25.
Mitigation
If you can’t patch tonight, do this now.
In Configuration » Regional and language » Texts Settings, enable the setting requiring the "edit string translation" permission to create new texts entities, then save. Restrict the "Create string translation" and "Edit string translation" permissions to trusted roles. Review existing text entities and remove unexpected HTML. These measures reduce risk but do not fully resolve the vulnerability.
Remediation
Patch, then assume compromise.
Upgrade the Drupal Texts module to version 1.0.17, the identified fixed release, as soon as possible.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-126727 exploited in the wild?
- As of Nov 11, 2026, Mallory has no reports of CVE-2026-126727 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-126727?
- As of Nov 11, 2026, Mallory has found no public exploit for CVE-2026-126727.
- Is there a patch for CVE-2026-126727?
- Upgrade the Drupal Texts module to version 1.0.17, the identified fixed release, as soon as possible.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.