VDB
Sign up
—

DRUPAL-CONTRIB-2020-011

Details

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").

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist:https://packages.drupal.org/8/drupal/webform
Introduced in: 0Fixed in: 5.11.0

Upgrade drupal/webform to 5.11.0 or newer (ecosystem packagist:https://packages.drupal.org/8).

References