DRUPAL-CONTRIB-2026-048

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/formatter_field/DRUPAL-CONTRIB-2026-048.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-048
Aliases
  • CVE-2026-12535
Published
2026-06-17T18:38:38Z
Modified
2026-06-17T19:30:05.126546422Z
Summary
[none]
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.

References
Credits

Affected packages

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

Package

Name
drupal/formatter_field
Purl
pkg:composer/drupal%2Fformatter_field

Affected ranges

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

Database specific

affected_versions
"<2.0.0"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/formatter_field/DRUPAL-CONTRIB-2026-048.json"