Skip to main content
Menu
Advisories

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

DRUPAL-CONTRIB-2026-162Published Updated Drupal

Description

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 versions

References