CVE-2026-96361 in Webforminfo

Summary

by MITRE • 10/22/2026

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Webform allows Cross-Site Scripting (XSS). This issue affects Webform versions: from 0.0.0 to 6.2.12, from 6.3.0 to 6.3.1.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 10/22/2026

The identified vulnerability represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. This flaw resides within the Drupal Webform module, specifically affecting versions ranging from early development releases up to 6.2.12 and the subsequent minor release series from 6.3.0 through 6.3.1. The core technical issue stems from insufficient sanitization of user-supplied input before it is rendered in a web page context. When an attacker crafts malicious script payloads and submits them via Webform fields, the application fails to properly escape or encode these inputs. Consequently, when other users view the submitted form data, their browsers execute the injected scripts as if they were legitimate content from the trusted domain hosting the Drupal site.

From a technical perspective, this vulnerability exploits the lack of output encoding in the rendering pipeline of the Webform module. In typical web application architectures, input validation is critical at ingestion points, but equally important is output sanitization to prevent stored or reflected XSS attacks. Here, the module likely stores unsanitized user data directly into the database and subsequently retrieves it for display without applying necessary HTML entity encoding or context-aware escaping mechanisms. This allows attackers to inject JavaScript code that runs in the security context of the victim's browser session. The impact is severe because the malicious script inherits all privileges associated with the affected web application, including access to any cookies, session tokens, or other sensitive information retained by the browser for that site.

The operational impact of this vulnerability extends beyond simple defacement or alert boxes. Attackers can leverage XSS to perform session hijacking by stealing authentication credentials and session identifiers stored in cookies. This enables unauthorized access to user accounts with varying levels of privilege within the Drupal environment. Furthermore, attackers may redirect users to malicious sites designed for phishing attacks, capture keystrokes to harvest sensitive information such as passwords or credit card numbers, or manipulate the DOM to alter the appearance of the site misleadingly. In enterprise environments where Webform is used for data collection, this could also lead to the exfiltration of personally identifiable information submitted through forms, resulting in significant compliance violations under regulations like GDPR or HIPAA depending on the nature of the collected data.

This vulnerability aligns with CWE-79, which defines Improper Neutralization of Input During Web Page Generation as a category where web pages are generated using user input without proper validation or encoding. In terms of offensive security frameworks, this behavior maps to MITRE ATT&CK technique T1059, specifically sub-technique 007 for JavaScript execution. The attack vector typically involves social engineering or direct submission through the form interface, making it a persistent threat if left unpatched as any visitor viewing the compromised content becomes an unwitting participant in the exploitation chain.

Mitigation strategies must prioritize immediate patching to the latest stable version of the Drupal Webform module that resolves this specific input handling flaw. Administrators should ensure they are running versions beyond 6.3.1, where these sanitization issues have been addressed through improved output encoding practices. In addition to software updates, implementing a Content Security Policy (CSP) can provide an additional layer of defense by restricting the sources from which scripts can be loaded and executed, thereby mitigating the impact even if some XSS vectors remain unpatched temporarily. Regular security audits focusing on input validation and output encoding across all form modules are essential to maintain robust web application security posture.

Responsible

Drupal

Reservation

09/23/2026

Disclosure

10/22/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

low

Sources

Interested in the pricing of exploits?

See the underground prices here!