DRUPAL-CONTRIB-2020-011
JSON

Not scored

This module enables you to build forms and surveys in Drupal.

Severity
Not scored
Published
Last changed

Description

This module enables you to build forms and surveys in Drupal.

The module doesn't sufficiently filter webform element properties (attributes) under the scenario of editing a webform. Malicious user could craft such an attribute (#element_validate, for example) that would invoke execution of undesired PHP code.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Edit own webform" (or "Edit any webform").

Affected

Product or packageVersionsReported by
drupal/webform (Packagist:https://packages.drupal.org/8)before 5.11.0Drupal Security Team

References

Sources

SourceRecordLicence
Drupal Security TeamDRUPAL-CONTRIB-2020-011 changed 2026-09-10MIT