{"id":"DRUPAL-CONTRIB-2021-031","aliases":["DRUPAL-CONTRIB-2021-031"],"related":[],"kind":"vulnerability","state":"published","title":"The module provides a field widget for selecting taxonomy terms in a hierarchical fashion.","summary":"The module provides a field widget for selecting taxonomy terms in a hierarchical fashion.\n\nThe module doesn't sanitize user input in certain cases, leading to a possible Cross-Site-Scripting (XSS) vulnerability.\n\nThis 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.","summaryFormat":"markdown","summarySource":"drupal","descriptions":[{"lang":"en","text":"The module provides a field widget for selecting taxonomy terms in a hierarchical fashion.\n\nThe module doesn't sanitize user input in certain cases, leading to a possible Cross-Site-Scripting (XSS) vulnerability.\n\nThis 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.","format":"markdown","source":"drupal"}],"published":"2021-09-22T16:49:24.000Z","modified":"2026-09-10T03:45:20.493Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.5.0"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/cshs","purl":"pkg:composer/drupal/cshs?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2021-031","tags":["web"],"sources":["drupal"]}],"credits":["Patrick Fey"],"sources":[{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2021-031","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2021-031","licence":"MIT","modified":"2026-09-10T03:45:20.493Z"}],"updatedAt":"2026-11-25T22:56:30.126Z"}