CVE-2026-4093

MEDIUM CVSS 4.0: 5.1 EPSS 0.17%
Updated Jul 23, 2026
Taxonomy_Term_Reference_Tree_Widget_Project
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions 7.x-1.0 — 7.x-1.12
Fixed In 7.x-1.12
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Taxonomy_Term_Reference_Tree_Widget_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Taxonomy_Term_Reference_Tree_Widget_Project Taxonomy_Term_Reference_Tree_Widget
cpe:2.3:a:taxonomy_term_reference_tree_widget_project:taxonomy_term_reference_tree_widget:*:*:*:*:*:drupal:*:*
7.x-1.0 7.x-1.12