{"id":"DRUPAL-CONTRIB-2020-015","aliases":[],"status":"published","description":"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\").","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-05-06T16:55:06Z","modified":"2026-09-10T03:46:16Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/webform","fixed_in":["5.11.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/webform","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.0"}]}]}],"references":[{"url":"https://www.drupal.org/sa-contrib-2020-015","tags":["web"]}],"sources":{"osv":[{"id":"DRUPAL-CONTRIB-2020-015","description":"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\").","status":"published","published":"2020-05-06T16:55:06Z","modified":"2026-09-10T03:46:16.802808394Z","updated_at":"2026-11-02T15:46:13.584509Z"}]}}
