DRUPAL-CONTRIB-2026-336: Composer/drupal/realname vulnerability

Published Nov 11, 2026
·
Updated

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

1 affected componentFixes available
composer/drupal/realname<2.0.1
2.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/realname to a version that resolves this vulnerability.

    Fixed in 2.0.1

Event History

Nov 11, 2026
Advisory Published
via OSV·06:05 PM
Data Sourced
via OSV·06:05 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203