CVE-2026-96368 in Webform Moduleinfo

Summary

by MITRE • 10/22/2026

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Webform allows Stored 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 security flaw represents a classic instance of improper neutralization of input during web page generation, commonly categorized under the Cross-Site Scripting (XSS) vulnerability class within industry standards such as CWE-79. This specific weakness manifests in the Drupal Webform module for versions ranging from 0.0.0 to 6.2.12 and from 6.3.0 to 6.3.1. The core technical issue lies in the application's failure to adequately sanitize or encode user-supplied data before it is rendered back into the web page context. When a victim interacts with a compromised form, malicious script payloads are stored within the backend database rather than being executed immediately during submission. This persistence distinguishes Stored XSS from Reflected XSS, as the malicious code remains on the server and is served to every user who views the affected content, thereby amplifying the potential blast radius of the attack significantly compared to transient injection vectors.

From an operational perspective, this vulnerability allows attackers to execute arbitrary JavaScript in the context of the victim's browser session. This capability enables a range of malicious activities including but not limited to stealing sensitive cookies and authentication tokens, hijacking user sessions, performing actions on behalf of the authenticated user without their consent, or redirecting users to phishing sites designed to harvest credentials. The impact is particularly severe because it targets trusted applications; victims are more likely to interact with content from a site they already trust, lowering the barrier for social engineering components often associated with these attacks. Furthermore, since the payload is stored server-side, the attack does not require complex URL manipulation or direct links sent via phishing emails, making detection and prevention by simple input filtering at the entry point insufficient if output encoding is neglected during rendering.

In terms of threat modeling and adversary behavior, this vulnerability aligns with techniques observed in real-world campaigns where attackers seek to establish persistent access or exfiltrate data from web applications. It maps closely to MITRE ATT&CK technique T1059.007, which covers JavaScript execution within a browser environment, specifically when leveraged for client-side code injection. The persistence of the payload means that even if initial entry points are secured through other means, previously submitted malicious forms continue to pose a risk until they are manually removed or the underlying software is patched. This creates an ongoing operational burden for administrators who must audit existing form submissions for potential compromise, adding complexity to incident response procedures following any suspected breach involving these specific versions of the Webform module.

To mitigate this vulnerability and restore secure operations, immediate action is required to update the Drupal Webform module to a version that addresses these input handling flaws. For affected systems running versions up to 6.2.12 or between 6.3.0 and 6.3.1, upgrading to the latest stable release provided by the maintainers is the primary remediation step. These updates typically include rigorous output encoding mechanisms such as HTML entity encoding for all user-supplied data before it is inserted into DOM elements. Additionally, implementing a Content Security Policy (CSP) can serve as an effective defense-in-depth measure by restricting the sources from which scripts are allowed to execute, thereby neutralizing many XSS payloads even if they manage to bypass input validation filters. Regular security audits and penetration testing should also be conducted to verify that no other similar injection points exist within the application logic, ensuring comprehensive protection against this class of web-based attacks.

Responsible

Drupal

Reservation

09/23/2026

Disclosure

10/22/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!