CVE-2026-4093

MEDIUM

Stored XSS in Drupal 7 Term Reference Tree module (token display templates and term labels)

Title source: cna
STIX 2.1

Description

In the Drupal 7 Term Reference Tree module, two stored XSS vectors exist in the widget/formatter rendering pipeline. Vector A (token display templates): When the Token module is enabled and token display templates are configured, attacker-controlled token output (e.g., term description) is rendered without proper sanitization. Any user who can edit the referenced taxonomy terms can inject HTML/JS that executes when the field is rendered. Vector B (term label rendering): Taxonomy term labels are not properly sanitized before being rendered in the widget, allowing a user with permission to create or edit taxonomy terms to inject scripts into the term name that execute when a form containing the widget is viewed. Exploit affects versions 7.x-1.x up to and including 7.x-1.11.

References (2)

Core 2

Scores

CVSS v3 5.4
EPSS 0.0017
EPSS Percentile 6.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
Drupal/Term Reference Tree 7.x-1.x - 7.x-1.11
taxonomy_term_reference_tree_widget_project/taxonomy_term_reference_tree_widget 7.x-1.0 - 7.x-1.12
Published May 21, 2026
Tracked Since May 22, 2026