ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-172

Details

The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data. Form submissions may include uploaded files.

The module does not sufficiently force certain uploaded file types to download when served. Under certain site configurations, a file uploaded through a webform could be rendered inline by a browser, resulting in a cross-site scripting vulnerability.

This vulnerability is mitigated by the fact that a user with permission to create or edit webforms must configure the form to allow the affected file extensions, and a user must specifically open the uploaded file.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/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)

References