CVE-2026-126745: This module enables you to display users by a configurable "real name" pattern built from tokens, instead of by their username. The module does not sufficiently sanitize user input
Published 2026-11-11 · Updated 2026-11-11 · Also known as DRUPAL-CONTRIB-2026-336
Summary
A Drupal contrib module that displays users via a configurable real name pattern fails to sufficiently sanitize user input. Administrators and site maintainers using this module should review their configurations and user profile settings.
Who is affected
Affected deployments are those using this real name pattern module where the configuration includes user-supplied data. An attacker who can edit their own profile data can place Twig syntax into it, which is then evaluated when their name is displayed.
Exploitability
The CVSS vector, base score, and EPSS are not documented, and the CISA Known Exploited Vulnerabilities status is no, meaning active exploitation is not claimed.
Remediation
- Check for updates or guidance from the module maintainers as fixed versions are not specified in the advisory.
- Review site configuration to ensure real name patterns do not include user-supplied data.
How to check your project
- Check the Drupal project files and module list to see if the real name pattern module using tokens is installed.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|
FAQ
What causes the vulnerability?
The vulnerability is caused by insufficient sanitization of user input used in name patterns, allowing Twig syntax placed in profile data to be evaluated.
What are the prerequisites for this vulnerability to be exploited?
The site must be configured with a real name pattern that includes user-supplied data, and the attacker must be able to edit that data on their own account.
What fixed versions are available?
No fixed versions are published in the provided data.
Original advisory description
References
Source records: DRUPAL-CONTRIB-2026-336 (OSV.dev) · EPSS by FIRST, 2026-11-28.