{"id":"DRUPAL-CONTRIB-2022-026","details":"This module provides an entity relationship hierarchy tree widget for an entity reference field.\n\nThe module doesn't sufficiently filter on output, leading to a Cross Site Scripting vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission to modify an entity that is the reference to a field.","modified":"2026-09-10T03:45:39.821439407Z","published":"2022-02-23T17:10:52Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2022-026"}],"affected":[{"package":{"name":"drupal/entity_reference_tree","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/entity_reference_tree?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2"}],"database_specific":{"constraint":"\u003c2.0.2"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/entity_reference_tree/DRUPAL-CONTRIB-2022-026.json","affected_versions":"\u003c2.0.2"}}],"schema_version":"1.9.0","credits":[{"name":"Jeroen Vreuls","contact":["https://www.drupal.org/user/2700643"]}]}