CVE-2026-122073 in Name Field
Summary
by MITRE • 11/26/2026
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Name Field allows Stored XSS. This issue affects Name Field versions: from 0.0.0 to 1.6.0.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The identified security flaw represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this vulnerability resides within the Name Field module for Drupal, affecting versions ranging from 0.0.0 through 1.6.0. The core technical deficiency lies in the application's failure to properly sanitize user-supplied input before rendering it back into the web page context. When a user submits data via the name field, the system accepts this input without adequate validation or encoding mechanisms that would strip out malicious script tags or event handlers. Consequently, any arbitrary JavaScript code injected by an attacker is stored directly in the backend database and subsequently executed within the browser sessions of other users who view content containing this tainted data. This classification aligns with CWE-79, which defines Improper Neutralization of Script-Related HTML Tags in a Web Page, highlighting the fundamental failure to neutralize active web content inputs that can be interpreted as executable code by the client-side environment.
From an operational perspective, the impact of this stored XSS vulnerability is severe because it does not require complex social engineering or specific user interaction beyond viewing a compromised page. Unlike reflected XSS, where the payload must be embedded in a link and clicked by the victim, stored XSS persists on the server side. This means that every administrator or authenticated user who accesses a node containing the malicious script will trigger its execution automatically. The attacker can leverage this persistence to steal session cookies, hijack administrative accounts, perform actions on behalf of victims such as modifying site configurations or deleting content, and potentially redirect users to phishing sites designed to harvest credentials. In enterprise environments running Drupal, this could lead to a complete compromise of the web application's integrity and confidentiality, especially if an attacker gains access to privileged user sessions through cookie theft.
The vulnerability maps directly to several techniques within the MITRE ATT&CK framework for both on-premises and cloud-based systems. It falls under the initial access or execution phases where malicious scripts are used to maintain persistence or escalate privileges once inside the network perimeter. Specifically, it relates to Client-Side Scripting manipulation, allowing attackers to bypass content security policies if they are not strictly configured. The ability to execute arbitrary code in the context of a trusted domain undermines the trust model that browsers employ, effectively turning legitimate web pages into vectors for malware delivery or data exfiltration. This persistence mechanism ensures that even after the initial injection point is discovered and patched, previously stored malicious payloads may continue to affect users until they are manually removed from the database, extending the window of exposure significantly compared to transient vulnerabilities.
Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. The primary and most effective solution is to upgrade the Name Field module to a version greater than 1.6.0, where the developers have presumably implemented proper input sanitization and output encoding techniques such as HTML entity encoding or context-aware escaping. For organizations unable to patch immediately due to compatibility constraints, implementing a Web Application Firewall with rules specifically tuned to detect and block XSS payloads in form submissions can provide a temporary layer of defense. Additionally, enforcing strict Content Security Policy headers that restrict the execution of inline scripts can mitigate the impact by preventing the browser from executing the injected code even if it is successfully stored. Regular security audits focusing on input validation across all user-facing forms are essential to prevent similar flaws from being introduced in future development cycles or other modules within the Drupal ecosystem.