{"id":"CVE-2026-126727","aliases":["CVE-2026-126727","DRUPAL-CONTRIB-2026-318"],"related":[],"kind":"vulnerability","state":"published","title":"Texts: key-based strings and translations - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-318","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The Texts module provides key-based strings and translations for Drupal, including Twig filters for displaying translated text.\n\nThe 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.\n\nThis 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.","format":"markdown","source":"drupal"}],"published":"2026-11-11T17:41:15.000Z","modified":"2026-11-26T00:44:15.737Z","severities":[],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.0.17","status":"affected"}],"vendor":"Drupal","product":"Texts: key-based strings and translations","repo":"https://git.drupalcode.org/project/texts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.17"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/texts","purl":"pkg:composer/drupal/texts?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-318","tags":["web"],"sources":["cvelist","drupal"]}],"credits":["Jens Vranckx (vrancje)","Jon Minder (ayalon)","Swan Kalata (akalata)","Bram Driesen (bramdriesen)","Greg Knaddison (greggles)","Juraj Nemec (poker10)","Jess  (xjm)"],"assigner":"drupal","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126727","url":"https://www.cve.org/CVERecord?id=CVE-2026-126727","licence":"CVE Terms of Use","modified":"2026-11-26T00:44:15.737Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2026-318","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-318","licence":"MIT","modified":"2026-11-11T18:45:04.103Z"}],"updatedAt":"2026-11-26T00:57:03.286Z","epss":{"score":0.00284,"percentile":0.22442,"date":"2026-12-01T12:00:22.000Z"}}