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

This module enables you to build forms and surveys in Drupal. The module doesn't sufficiently sanitize Webform labels nor visibility condit…

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

Affected packages

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

References