drupal/realname - SA-CONTRIB-2026-336
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/realname | < 2.0.1 | 2.0.1 |
| Drupal module | drupal/realname | < 2.0.1 | 2.0.1 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/realname- Disclosed
- 11.11.2026
- Updated
- 11.11.2026 20:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-336 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/realname
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.