{"id":"DRUPAL-CONTRIB-2020-011","details":"This module enables you to build forms and surveys in Drupal.\n\nThe module doesn't sufficiently filter webform element properties (attributes) under the scenario of editing a webform. Malicious user could craft such an attribute (#element\\_validate, for example) that would invoke execution of undesired PHP code.\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.234092960Z","published":"2020-05-06T16:43:59Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2020-011"}],"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-011.json"}}],"schema_version":"1.9.0","credits":[{"name":"Jacob Rockowitz","contact":["https://www.drupal.org/user/371407"]}]}