DRUPAL-CONTRIB-2026-336

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/realname/DRUPAL-CONTRIB-2026-336.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-336
Aliases
  • CVE-2026-126745
Published
2026-11-11T18:05:10Z
Modified
2026-11-11T18:45:04Z
Summary
[none]
Details

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
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/realname

Package

Name
drupal/realname
Purl
pkg:composer/drupal/realname?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.1
Database specific
Show details
{
    "constraint": "<2.0.1"
}

Database specific

affected_versions
"<2.0.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/realname/DRUPAL-CONTRIB-2026-336.json"