DRUPAL-CONTRIB-2026-048
Details
The Formatter Field module provides a mechanism for specifying a formatter and formatter settings to be used for displaying a field, on a per-entity basis.
`formatter_field` stores some data as PHP-serialized strings. In some situations, malicious data can be written directly to the field. This can lead to an Object Injection vulnerability when the data are unserialized.
This vulnerability is mitigated by the fact that an attacker must have permission to edit a content entity with an attached `formatter_field` field. In addition, the core JSON:API module must be enabled with the option "Accept all JSON:API create, read, update, and delete operations", which is not the default, or the attacker needs some other way to edit field values directly.
Are you affected?
Enter the version of the package you're using.
Affected packages
0 Fixed in: 2.0.0 Upgrade drupal/formatter_field to 2.0.0 or newer (ecosystem packagist:https://packages.drupal.org/8).