CVE-2026-4093Stored XSS in Drupal 7 Term Reference Tree module (token display templates and term labels)
Updated under an hour ago ()
Does this affect you?
It affects Drupal Term Reference Tree and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.1 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- Weakness (CWE)
- CWE-79
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- drupal
- NVD analysis
- Analyzed
- Record last updated
- May 22, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Drupal Term Reference Tree drupal:term_reference_tree (from the name) | from 7.x-1.x through 7.x-1.11 | CNA record |
taxonomy_term_reference_tree_widget_project taxonomy_term_reference_tree_widget taxonomy_term_reference_tree_widget_project:taxonomy_term_reference_tree_widget | from 7.x-1.0 before 7.x-1.12 | NVD |
References
- https://www.herodevs.com/vulnerability-directory/cve-2026-4093third-party-advisory, exploit
- https://d7es.tag1.com/security-advisories/taxonomy-term-reference-tree-widget-moderately-critical-cross-site-scriptingthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.