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

## 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 did not sufficiently sanitize attributes used by its color element. Under certain conditions, specially crafted attributes could result in cross-site scripting (XSS) when the element is rendered.

This vulnerability is mitigated by the fact that an attacker must be able to add a specially crafted link with a specific class to the same page as the affected webform.

## References

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

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

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