CVE-2026-4929 Simple Hierarchical Select (Drupal 7) XSS in term-derived output
Attackers can inject malicious scripts via taxonomy term names in the Simple Hierarchical Select module for Drupal 7, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-4929?
CVE-2026-4929 is a medium-severity cross-site scripting vulnerability in Drupal Simple Hierarchical Select (shs), published on 21 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Simple Hierarchical Select (SHS) for Drupal 7 contains cross-site scripting risk due to improper output escaping of term-derived text. Confirmed affected paths include field formatter output (shs_field_formatter_view) and term-tree child-term data generation (shs_term_get_children). Malicious taxonomy term names can be rendered unsafely depending on output context. This affects versions from 7.x-1.0 through (and including) 7.x-1.10.
Weakness: CWE-79
Which versions are affected by CVE-2026-4929?
It affects 1 product.
Products include Simple Hierarchical Select Project Simple Hierarchical Select.
How do I fix CVE-2026-4929?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-4929 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4929 exists.
Sources
Also known as CLSA-2026-1789632682, GHSA-w38v-4c3f-mg76.