Home

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.

PUBLISHED Reserved 2026-03-12 | Published 2026-05-21 | Updated 2026-05-22 | Assigner drupal




MEDIUM: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

7.x-1.x (custom)
affected

References

www.herodevs.com/vulnerability-directory/cve-2026-4093 third-party-advisory

d7es.tag1.com/...et-moderately-critical-cross-site-scripting third-party-advisory

cve.org (CVE-2026-4093)

nvd.nist.gov (CVE-2026-4093)

Download JSON