CVE-2026-12535
JSON

9.8critical

Formatter Field - Critical - PHP object injection - SA-CONTRIB-2026-048

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2026-048

Description

Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Formatter Field allows Object Injection. This issue affects Formatter Field versions: from 0.0.0 to 2.0.0.

Affected

Product or packageVersionsReported by
Drupal Formatter Fieldfrom 0.0.0 before 2.0.0CVE List
drupal/formatter_field (Packagist:https://packages.drupal.org/8)before 2.0.0Drupal Security Team
zroger formatter_fieldbefore 2.0.0NVD

Classification

CWE-915

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Formatter Field allows Object Injection. This issue affects Formatter Field versions: from 0.0.0 to 2.0.0.

Drupal Security Team

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.

NVD (es)

Vulnerabilidad de Modificación Incontrolada de Atributos de Objeto Determinados Dinámicamente en Drupal Formatter Field permite la Inyección de Objetos. Este problema afecta a las versiones de Formatter Field: desde la 0.0.0 hasta la 2.0.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12535 changed 2026-07-13CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2026-048 changed 2026-09-10MIT
NVDCVE-2026-12535 changed 2026-10-25Public domain