# DRUPAL-CONTRIB-2026-162: The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data

- Database: Drupal
- Published: 2026-09-23
- Modified: 2026-09-23

## Tracked as

- [CVE-2026-96367](https://cve.now/CVE-2026-96367.md): Webform - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-162

## Affected versions

- drupal/webform (Packagist): fixed in 6.2.12; from 6.3.0, fixed in 6.3.1

## 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.

## References

- https://www.drupal.org/sa-contrib-2026-162

Page: https://cve.now/DRUPAL-CONTRIB-2026-162

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
