Date
Severity
Moderately Critical
Vulnerability
Cross Site Scripting
Affected versions
<7.x-3.32 || >7.x-4.0 <7.x-4.28

Description

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.

This is a backport of SA-CONTRIB-2026-172.

Solution

Install the latest version.

If you use the Webform module for Drupal 7, upgrade to the latest version.

If you use the 7.x-3.x branch, upgrade to 7.x-3.32:

If you use the 7.x-4.x branch, upgrade to 7.x-4.28:


Reported by

Fixed by

Coordinated by