Skip to content
Heist/ feed
Back to feed
UnratedFix available

drupal/custom_formatters — security advisory

Type: advisorySources: OSVAdvisory ID: DRUPAL-CONTRIB-2026-225

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.

Products
drupal/custom_formatters
Affected versions
Not specified
Fixed versions
4.2.1
CVEs
CVE-2026-114524
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 16:06 UTC · Revision 1

Source evidence

DRUPAL-CONTRIB-2026-225

core-osv · Original source

Published 21 Oct 2026, 17:39 UTC

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.

osv:DRUPAL-CONTRIB-2026-225

drupal/custom_formatters

Fixed versions: 4.2.1

Complete source record
{
  "id": "08157fcf0e3aaf57cf0c4bdc02aadd5eb9abc80f05ec90432d797ada0bc223b3",
  "url": "https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-225",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DRUPAL-CONTRIB-2026-225",
    "summary": "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.",
    "evidence": "osv:DRUPAL-CONTRIB-2026-225",
    "products": [
      {
        "name": {
          "value": "drupal/custom_formatters",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.2.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DRUPAL-CONTRIB-2026-225",
      "aliases": [
        "CVE-2026-114524",
        "DRUPAL-CONTRIB-2026-225"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.2.1"
                }
              ],
              "database_specific": {
                "constraint": "<4.2.1"
              }
            }
          ],
          "package": {
            "name": "drupal/custom_formatters",
            "purl": "pkg:composer/drupal/custom_formatters?repository_url=https:%2F%2Fpackages.drupal.org%2F8",
            "ecosystem": "Packagist:https://packages.drupal.org/8"
          },
          "database_specific": {
            "source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/custom_formatters/DRUPAL-CONTRIB-2026-225.json",
            "affected_versions": "<4.2.1"
          }
        }
      ],
      "modified": "2026-10-21T18:15:04.008974355Z",
      "provider": "osv",
      "references": [
        "https://www.drupal.org/sa-contrib-2026-225"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-114524",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 399233,
  "published_at": "2026-10-21T17:39:16+00:00"
}