DRUPAL-CONTRIB-2022-058

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/twig_field_value/DRUPAL-CONTRIB-2022-058.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2022-058
Published
2022-10-12T19:41:07Z
Modified
2026-09-10T03:46:06Z
Summary
[none]
Details

This module enables themers to get partial data from field render arrays. It gives them more control over the output without drilling deep into the render array or using preprocess functions.

The module doesn't sufficiently apply access restrictions when using the filters field_label, field_value, field_raw and field_target_entity.

This vulnerability is mitigated by the fact that these filters must be used in combination with either unpublished content or access control modules.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/twig_field_value

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.1
Database specific
Show details
{
    "constraint": "<2.0.1"
}

Database specific

affected_versions
"<2.0.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/twig_field_value/DRUPAL-CONTRIB-2022-058.json"