ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-162

Details

The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data.

The module does not sufficiently restrict access to the custom attributes YAML editor. Users with permission to create or edit webforms (but without permission to edit webform source) may be able to add custom attributes, leading to cross-site scripting.

This vulnerability is mitigated by the fact that an attacker must have a role with permission to create or edit webforms.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/webform
All versions before 6.2.12 (fixed in 6.2.12)
From 6.3.0 before 6.3.1 (fixed in 6.3.1)

References