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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-09-22T16:49:24.000Z
- Modified: 2026-09-10T03:45:20.493Z

## 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.

(As written by Drupal Security Team.)

## Affected

- drupal/cshs (Packagist:https://packages.drupal.org/8): before 3.5.0

## References

- <https://www.drupal.org/sa-contrib-2021-031> (web)

## Sources

- Drupal Security Team: [DRUPAL-CONTRIB-2021-031](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2021-031), MIT, modified 2026-09-10

---

Page: https://cve.day/DRUPAL-CONTRIB-2021-031 · Whole record: https://cve.day/DRUPAL-CONTRIB-2021-031.json · Rebuilt by cve.day 2026-11-25T22:56:30.126Z
