CVE-2026-126745 json
This module enables you to display users by a configurable "real name" pattern built from tokens, instead of by their username.
published 16h ago modified 16h ago also DRUPAL-CONTRIB-2026-336
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist drupal/realname 2.0.1
Is CVE-2026-126745 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | drupal/realname | <2.0.1 |
2.0.1 |
References
Sources
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.