# DRUPAL-CONTRIB-2026-158: 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-96358](https://cve.now/CVE-2026-96358.md): Webform - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-158

## 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 includes a rating element, which did not sufficiently validate its data. Under specific circumstances, this could allow cross-site scripting on a page with a rating element.

This vulnerability is mitigated by the fact that an attacker must be able to place crafted HTML markup on the same page as a Webform rating element.

## References

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

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

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