# CVE-2026-96355: Drupal Webform template injection in token replacement

Source: https://junglewise.ai/threats/cve-2026-96355-drupal-contrib-2026-175-the-webform-module-allows-site-builders  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-22. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-96355 · Severity: info · Published 2026-10-22

The Webform module for Drupal allows site administrators to create forms and display submitted data. A vulnerability in how the module processes form submissions allows attackers to inject template code through form fields, which gets executed when administrators view the submission. Depending on site configuration, this could lead to data theft, website defacement, or complete server compromise.

Technologies: [Drupal Webform](https://junglewise.ai/threats/technologies/webform), [Packagist:Https://Packages.Drupal.Org/8 Drupal/Webform](https://junglewise.ai/threats/technologies/drupal-webform). Vendors: [Drupal](https://junglewise.ai/threats/vendors/drupal), [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is CVE-2026-96355 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-96355 being exploited in the wild.

**How severe is CVE-2026-96355?** Informational severity, published 22 October 2026.

**Which products and versions are affected?** Drupal Webform <6.2.12 or >=6.3.0 <6.3.1; Packagist:Https://Packages.Drupal.Org/8 Drupal/Webform ECOSYSTEM:introduced=0,fixed=6.2.12|ECOSYSTEM:introduced=6.3.0,fixed=6.3.1.

**Is there a fix for CVE-2026-96355?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Webform: upgrade to 6.2.12 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-96355 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-96355?** Check whether you run Drupal Webform or Packagist:Https://Packages.Drupal.Org/8 Drupal/Webform at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Webform: upgrade to 6.2.12 or later

## Technical details

The Webform module fails to properly sanitize token replacement in custom format templates, allowing attackers to submit malicious template code that is evaluated at render time. The vulnerability requires a webform to be configured with a custom multiple-value item format containing submission-value tokens. Impact ranges from information disclosure and stored XSS to remote code execution depending on enabled modules and site configuration.

## Affected products

- Drupal Webform <6.2.12 or >=6.3.0 <6.3.1

## Identifiers

- CVE-2026-96355
- DRUPAL-CONTRIB-2026-175

## Timeline

- 2026-09-23: disclosed: Security advisory published
- 2026-09-23: patched: Fixes available in versions 6.2.12 and 6.3.1

## References

- [https://www.drupal.org/u/michaelmaturi](https://www.drupal.org/u/michaelmaturi)
- [https://www.drupal.org/sa-contrib-2026-175](https://www.drupal.org/sa-contrib-2026-175)

## Related threats

- [Drupal Webform module access bypass in submission view modes](https://junglewise.ai/threats/cve-2026-96398-drupal-contrib-2026-173-the-webform-module-allows-site-builders)
- [Drupal Webform access bypass in export filename validation](https://junglewise.ai/threats/cve-2026-96373-drupal-contrib-2026-168-the-webform-module-allows-site-builders)
- [Drupal Webform module insufficient access restriction on remote HTTP operations](https://junglewise.ai/threats/cve-2026-96372-drupal-contrib-2026-167-the-webform-module-enables-site-builders)
- [Drupal Webform module cross-site scripting in source editing](https://junglewise.ai/threats/cve-2026-96371-drupal-contrib-2026-166-the-webform-module-allows-site-builders)
- [Drupal Webform Submission Export/Import server-side request forgery](https://junglewise.ai/threats/cve-2026-96370-drupal-contrib-2026-164-the-webform-module-allows-site-builders)
