# DRUPAL-CONTRIB-2022-026: This module provides an entity relationship hierarchy tree widget for an entity reference field.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-02-23T17:10:52.000Z
- Modified: 2026-09-10T03:45:39.821Z

## Description

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.

(As written by Drupal Security Team.)

## Affected

- drupal/entity_reference_tree (Packagist:https://packages.drupal.org/8): before 2.0.2

## References

- <https://www.drupal.org/sa-contrib-2022-026> (web)

## Sources

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

---

Page: https://cve.day/DRUPAL-CONTRIB-2022-026 · Whole record: https://cve.day/DRUPAL-CONTRIB-2022-026.json · Rebuilt by cve.day 2026-11-25T22:56:30.134Z
