DRUPAL-CONTRIB-2026-225

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2026-225

    DRUPAL-CONTRIB-2026-225

    Published: 21 Oct 2026Last Modified: 21 Oct 2026

    Summary:

    Details: The Custom Formatters module allows users to easily create custom Field Formatters through an admin UI without writing a custom module. The PHP formatter engine runs eval() to execute user-provided PHP code and allows arbitrary PHP execution on the site. The permissions UI gives no indication about this behavior.

    Affected packages

    Package

    Name: drupal/custom_formatters

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

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.2.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DRUPAL-CONTRIB-2026-225 | CVE-DB