Summary
CVE-2026-96355 is a critical template injection vulnerability (CWE-1336) in the Webform module for Drupal. Webform does not sufficiently exclude certain format templates from token replacement. An attacker can submit data that is evaluated as template code when a submission is rendered. Drupal rates the issue Critical (18/25), and the CVE record carries a CVSS v3.1 base score of 9.1.
Technical details
- Root cause: Insufficient filtering of format templates during token replacement (improper neutralization of special elements used in a template engine, CWE-1336).
- Trigger conditions: The affected webform must be configured with a custom multiple-value item format that includes submission-value tokens (per the Drupal advisory).
- Attack vector: Network. The CVE record lists no privileges required and no user interaction. Attacker-controlled submission data is evaluated as template code when rendered.
- Impact: Code injection. Depending on site configuration and enabled modules, this can lead to information disclosure, stored cross-site scripting, or remote code execution.
Affected software
- Drupal Webform module versions earlier than 6.2.12
- Drupal Webform module 6.3.x versions earlier than 6.3.1 (6.3.0)
Severity
- CVSS v3.1 base score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Drupal risk score: Critical (18/25)
Mitigation and recommended actions
- Immediate: upgrade Webform to 6.2.12 on the 6.2.x branch, or to 6.3.1 on the 6.3.x branch (per Drupal advisory SA-CONTRIB-2026-175). The CVE record’s version data lists 6.3.2 as the 6.3.x fixed version, which differs from the advisory. Upgrade to the latest available release on your branch.
- Drupal has not published a workaround. Review webforms that use custom multiple-value item formats containing submission-value tokens, since the advisory names this configuration as a condition for exploitation. Treat these webforms as priority.

