SEVERITY NOT PROVIDED EPSS 0.4% · 25th percentile

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade

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
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 used in name patterns. A user can place Twig syntax in their own profile data and have it evaluated when their name is displayed. This vulnerability is mitigated by the fact that 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.

References

Source records: DRUPAL-CONTRIB-2026-336 (OSV.dev) · EPSS by FIRST, 2026-11-28.