SA-CONTRIB-2026-166: Critical severity drupal/webform vulnerability
The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data. The module does not sufficiently restrict access to raw webform source editing when the Webform UI module is not enabled. This could allow a user with webform creation or editing permissions to enter source configuration that is rendered unsafely. This vulnerability is mitigated by the fact that an attacker must have permission to create or edit webforms.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
drupal/webformto a version that resolves this vulnerability.Fixed in 6.2.12Fixed in 6.3.1
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must already have permission to create or edit webforms. Users without webform creation or editing permissions are not identified as able to exploit it.
When is the vulnerable access-control condition present?
The issue occurs when the Webform UI module is not enabled, because raw webform source editing is not sufficiently restricted in that situation.
What can an authorized attacker do?
A user who can create or edit webforms may enter source configuration that is rendered unsafely.