{"id":"DRUPAL-CONTRIB-2020-015","details":"This module enables you to build forms and surveys in Drupal.\n\nThe 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.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission \"Edit own webform\" (or \"Edit any webform\").","modified":"2026-09-10T03:46:16.802808394Z","published":"2020-05-06T16:55:06Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2020-015"}],"affected":[{"package":{"name":"drupal/webform","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/webform?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.0"}],"database_specific":{"constraint":"\u003c5.11.0"}}],"database_specific":{"affected_versions":"\u003c5.11.0","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/webform/DRUPAL-CONTRIB-2020-015.json"}}],"schema_version":"1.9.0","credits":[{"name":"Ide Braakman","contact":["https://www.drupal.org/user/1879760"]}]}