Drupal Security Advisory
DRUPAL-CONTRIB-2026-158
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/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) |