CVE-2026-126727
JSON

Not scored

Texts: key-based strings and translations - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-318

Severity
Not scored
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2026-318

Description

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Texts: key-based strings and translations allows Stored XSS. This issue affects Texts: key-based strings and translations versions: from 0.0.0 to 1.0.17.

Affected

Product or packageVersionsReported by
Drupal Texts: key-based strings and translationsfrom 0.0.0 before 1.0.17CVE List
drupal/texts (Packagist:https://packages.drupal.org/8)before 1.0.17Drupal Security Team

Classification

What each source says

CVE List

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Texts: key-based strings and translations allows Stored XSS. This issue affects Texts: key-based strings and translations versions: from 0.0.0 to 1.0.17.

Drupal Security Team

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

Sources

SourceRecordLicence
CVE ListCVE-2026-126727 changed 2026-11-26CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2026-318 changed 2026-11-11MIT