VDB
Sign up
—

DRUPAL-CONTRIB-2020-015

Details

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

The module doesn't sufficiently sanitize Webform labels nor visibility conditions under the scenario of placing a block. When a webform block is placed and visible on a website any JavaScript code contained within the webform's label was executed.

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