Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2020-011

This module enables you to build forms and surveys in Drupal. The module doesn't sufficiently filter webform element properties (attributes…

Published May 6, 2020 · Updated Sep 10, 2026 · Assigned by DRUPAL

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 packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/webform < 5.11.0 5.11.0 DRUPAL-CONTRIB-2020-011

References