Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    DRUPAL-CONTRIB-2026-318 (CVE-2026-126727)

    Vulnerability from drupal – Published: 2026-11-11 17:41 – Updated: 2026-11-11 17:41 – Source website
    VLAI
    Details

    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.


    {
      "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"
    }