# 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

- Database: Drupal
- Published: 2026-10-21
- Modified: 2026-10-21

## Tracked as

- [CVE-2026-114524](https://cve.now/CVE-2026-114524.md): Drupal Custom Formatters remote code execution via unsafe privilege actions

## Affected versions

- drupal/custom\_formatters (Packagist): fixed in 4.2.1

## Description

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.

## References

- https://www.drupal.org/sa-contrib-2026-225

Page: https://cve.now/DRUPAL-CONTRIB-2026-225

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
