{"id":"DRUPAL-CONTRIB-2026-225","details":"The Custom Formatters module allows users to easily create custom Field Formatters through an admin UI without writing a custom module.\n\nThe 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.","aliases":["CVE-2026-114524"],"modified":"2026-10-21T18:15:04.008974355Z","published":"2026-10-21T17:39:16Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-225"}],"affected":[{"package":{"name":"drupal/custom_formatters","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/custom_formatters?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1"}],"database_specific":{"constraint":"\u003c4.2.1"}}],"database_specific":{"affected_versions":"\u003c4.2.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/custom_formatters/DRUPAL-CONTRIB-2026-225.json"}}],"schema_version":"1.9.0","credits":[{"name":"Marcus Johansson (marcus_johansson)","contact":["https://www.drupal.org/u/marcus_johansson"]}]}