DRUPAL-CONTRIB-2022-058 json
This module enables themers to get partial data from field render arrays.
published 4y ago modified 2mo ago
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist drupal/twig_field_value 2.0.1
Is DRUPAL-CONTRIB-2022-058 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | drupal/twig_field_value | <2.0.1 |
2.0.1 |
References
Sources
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.