# DRUPAL-CONTRIB-2021-031: The module provides a field widget for selecting taxonomy terms in a hierarchical fashion

- Database: Drupal
- Published: 2021-09-22
- Modified: 2026-09-10

## Affected versions

- drupal/cshs (Packagist): fixed in 3.5.0

## Description

The module provides a field widget for selecting taxonomy terms in a hierarchical fashion.

The module doesn't sanitize user input in certain cases, leading to a possible Cross-Site-Scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with permission to create or edit taxonomy terms to which the widget may apply.

## References

- https://www.drupal.org/sa-contrib-2021-031

Page: https://cve.now/DRUPAL-CONTRIB-2021-031

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
