drupal/webform - SA-CONTRIB-2021-045
Access Bypass:
This module enables you to build forms and surveys in Drupal.
The module doesn't sufficiently check access for administrative features for webforms attached to nodes using the Webform Node module. This may reveal submitted data or allow an attacker to modify submitted data. Additionally, for sites with webforms that send emails and store submissions this vulnerability would allow an attacker to use the site as an email relay (i.e. sending arbitrary emails).
There is no mitigation for this vulnerability. If you have the Webform Node module enabled you must update the Webform module.
Cross Site Scripting:
The Webform module enables site builders to create forms and surveys.
The Webform module doesn't sufficiently filter HTML when an element's 'Help title' and an 'Image Select' element's image text contain specially crafted malicious text.
This vulnerability is mitigated by the fact that an attacker must be able to create or edit webforms.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/webform | >= 6.0.0, < 6.0.6, >= 6.1.0, < 6.1.2 | 6.0.6, 6.1.2 |
| Drupal module | drupal/webform | >= 6.0.0, < 6.0.6, >= 6.1.0, < 6.1.2 | 6.0.6, 6.1.2 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/webform- Disclosed
- 08.12.2021
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2021-045 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/webform
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 31
- First → latest
- 05.2020 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 31
Disclosures per year
- 2020: 8
- 2021: 3
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 20
-
drupal/webform - SA-CONTRIB-2021-045 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.