CVE-2026-126745 in Real Name Plugininfo

Summary

by MITRE • 11/26/2026

Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Drupal Real Name allows Code Injection. This issue affects Real Name versions: from 0.0.0 to 2.0.1.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified as Improper Neutralization of Special Elements Used in a Template Engine represents a critical security flaw within the Drupal Real Name module, specifically affecting versions ranging from 0.0.0 through 2.0.1. This class of vulnerability is formally categorized under CWE-94, commonly known as Code Injection via Uncontrolled Generation of Code or Script, often referred to in web application contexts as Server-Side Template Injection (SSTI). The core technical flaw stems from the module's failure to properly sanitize user-supplied input before it is processed by Drupal’s internal template engine. When a site administrator or an authenticated user interacts with features that utilize real name data for display purposes, such as profile pages or comment sections, the application inadvertently passes unsanitized variables directly into the templating system without adequate validation or escaping mechanisms.

In a typical web architecture utilizing server-side templates, the template engine is designed to render dynamic content by substituting placeholders with actual values derived from database queries or user input. However, when special elements such as curly braces, dollar signs, or specific function calls are included in the input data without proper neutralization, they can be interpreted not merely as literal text but as executable code directives by the template engine. This misinterpretation allows an attacker to inject malicious payloads that exploit the underlying logic of the templating system. Because Drupal’s theme layer is deeply integrated with its core rendering pipeline, a successful exploitation does not just result in visual manipulation or cross-site scripting; it provides a pathway for arbitrary command execution on the server hosting the application.

The operational impact of this vulnerability is severe due to the potential for Remote Code Execution (RCE). An attacker who can inject these special elements into fields managed by the Real Name module, such as the real name field itself or associated profile data, can achieve complete compromise of the web server environment. This level of access allows the adversary to read sensitive configuration files containing database credentials and API keys, modify website content to deface the site, install backdoors for persistent access, or pivot into other systems within the internal network infrastructure. The severity is further amplified by the fact that Real Name is a widely used module in Drupal deployments, increasing the attack surface significantly across numerous organizations relying on this functionality for user identity management and display customization.

From an offensive security perspective, this vulnerability aligns with MITRE ATT&CK technique T1059, specifically Command and Scripting Interpreter sub-techniques such as PowerShell or Bash execution via web shells. The attacker leverages the template engine’s ability to evaluate expressions as a vector for executing system-level commands. This differs from traditional SQL injection because it targets the application logic layer rather than the data storage layer directly, making detection by standard Web Application Firewalls more challenging unless they are specifically configured to detect SSTI patterns involving template syntax characters within user inputs.

Mitigation strategies must prioritize immediate remediation through software updates. Administrators running any version of the Real Name module from 0.0.0 up to and including 2.0.1 should upgrade to a patched version where this input validation issue has been resolved by properly escaping or encoding special characters before they reach the template engine. In scenarios where immediate patching is not feasible due to compatibility constraints, temporary mitigations include restricting access to affected modules through role-based permissions to ensure only trusted administrators can modify real name data, and implementing strict Content Security Policy headers that may help mitigate some downstream effects of code injection, although these are insufficient as standalone defenses against server-side execution. Additionally, deploying a Web Application Firewall with rules specifically tuned for template injection patterns involving Drupal-specific syntax can provide an additional layer of defense while the upgrade process is underway.

Responsible

Drupal

Reservation

11/11/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00387

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!