View online: https://www.drupal.org/sa-contrib-2020-015 Project: Webform [1] Date: 2020-May-06 Security risk: *Moderately critical* 14∕25 AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:All [2] Vulnerability: Cross site scripting 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"). Solution: Install the latest version: * If you use the Webform module for Drupal 8, upgrade to Webform 8.x-5.11 [3] Also see the Webform [4] project page. Reported By: * Ide Braakman [5] Fixed By: * bucefal91 [6] * Jacob Rockowitz [7] Coordinated By: * Greg Knaddison [8] of the Drupal Security Team [1] https://www.drupal.org/project/webform [2] https://www.drupal.org/security-team/risk-levels [3] https://www.drupal.org/project/webform/releases/8.x-5.11 [4] https://www.drupal.org/project/webform [5] https://www.drupal.org/user/1879760 [6] https://www.drupal.org/user/504128 [7] https://www.drupal.org/user/371407 [8] https://www.drupal.org/user/36762