DRUPAL-CONTRIB-2022-026

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2022-026

    DRUPAL-CONTRIB-2022-026

    Published: 23 Feb 2022Last Modified: 10 Sept 2026

    Summary:

    Details: This module provides an entity relationship hierarchy tree widget for an entity reference field. The module doesn't sufficiently filter on output, leading to a Cross Site Scripting vulnerability. This 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.

    Affected packages

    Package

    Name: drupal/entity_reference_tree

    Purl: pkg:composer/drupal/entity_reference_tree?repository_url=https:%2F%2Fpackages.drupal.org%2F8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DRUPAL-CONTRIB-2022-026 | CVE-DB