(CVE-2026-126727)
Vulnerability from drupal – Published: 2026-11-11 17:41 – Updated: 2026-11-11 17:41 – Source websiteThe 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.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"affected_versions": "\u003c1.0.17"
},
"package": {
"ecosystem": "Packagist:https://packages.drupal.org/8",
"name": "drupal/texts"
},
"ranges": [
{
"database_specific": {
"constraint": "\u003c1.0.17"
},
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.17"
}
],
"type": "ECOSYSTEM"
}
],
"severity": []
}
],
"aliases": [
"CVE-2026-126727"
],
"credits": [
{
"contact": [
"https://www.drupal.org/u/vrancje"
],
"name": "Jens Vranckx (vrancje)"
}
],
"details": "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\u2019s Twig filters.",
"id": "DRUPAL-CONTRIB-2026-318",
"modified": "2026-11-11T17:41:15.000Z",
"published": "2026-11-11T17:41:15.000Z",
"references": [
{
"type": "WEB",
"url": "https://www.drupal.org/sa-contrib-2026-318"
}
],
"schema_version": "1.7.0"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.