Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 93%

CVE-2026-4093: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Drupal Term Reference Tree

0
Medium
VulnerabilityCVE-2026-4093cvecve-2026-4093cwe-79
Published: 05/21/2026 (05/21/2026, 21:50:42 UTC)
Source: CVE Database V5
Vendor/Project: Drupal
Product: Term Reference Tree

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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/21/2026, 22:29:49 UTC

Technical Analysis

This vulnerability affects the Drupal 7 Term Reference Tree module (7.x-1.x up to 7.x-1.11) and involves improper neutralization of input during web page generation (CWE-79). Specifically, two stored XSS vectors exist: (1) attacker-controlled token output in token display templates is rendered without proper sanitization if the Token module is enabled, allowing script injection via term descriptions; (2) taxonomy term labels are not sanitized before rendering in the widget, enabling script injection via term names. Exploitation requires permissions to create or edit taxonomy terms, and the malicious scripts execute when the relevant fields or forms are viewed.

Potential Impact

Successful exploitation allows an attacker with limited permissions (to create or edit taxonomy terms) to inject and execute arbitrary JavaScript in the context of users viewing the affected fields or forms. This can lead to session hijacking, defacement, or other client-side attacks. The vulnerability has a CVSS 4.0 base score of 5.1 (medium severity), reflecting network attack vector, low complexity, and limited privileges required.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict permissions to create or edit taxonomy terms to trusted users only. Consider disabling the Token module or token display templates if not required, as this reduces exposure to one of the XSS vectors. Monitor Drupal security advisories for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
drupal
Date Reserved
2026-03-12T22:40:32.279Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0f83d9e1370fbb48503dd9

Added to database: 05/21/2026, 22:14:49 UTC

Last enriched: 05/21/2026, 22:29:49 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 91

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses