7.0high
XSS vulnerability when rendering filename in Webform Multiform
- Severity
- 7.0high CVSS:4.0 by drupal
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
Description
Webform Multiple File Upload module for Drupal 7.x contains a cross-site scripting (XSS) vulnerability in the file name renderer. An unauthenticated attacker can exploit this vulnerability by uploading a file with a malicious filename containing JavaScript code (e.g., "<img src=1 onerror=alert(document.domain)>") to a Webform node with a Multifile field where file type validation is disabled. This allows the execution of arbitrary scripts in the context of the victim's browser. The issue is present in a third-party library and has been addressed in a patch available at https://github.com/fyneworks/multifile/pull/44 . Users are advised to apply the provided patch or update to a fixed version of the module.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Webform Multifile Upload | from 7.x-1.0 up to 7.x-1.6 | CVE List |
| webform_multiple_file_upload_project webform_multiple_file_upload | 7.x-1.2, 7.x-1.3, 7.x-1.4, 7.x-1.5, 7.x-1.6, 7.x-1.x | NVD |
All scores
| drupal | 7.0high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/S:N/R:U/V:D/RE:L/U:Amber |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Webform Multiple File Upload module for Drupal 7.x contains a cross-site scripting (XSS) vulnerability in the file name renderer. An unauthenticated attacker can exploit this vulnerability by uploading a file with a malicious filename containing JavaScript code (e.g., "<img src=1 onerror=alert(document.domain)>") to a Webform node with a Multifile field where file type validation is disabled. This allows the execution of arbitrary scripts in the context of the victim's browser. The issue is present in a third-party library and has been addressed in a patch available at https://github.com/fyneworks/multifile/pull/44 . Users are advised to apply the provided patch or update to a fixed version of the module.
NVD (es)
El módulo Webform Multiple File Upload para Drupal 7.x contiene una vulnerabilidad de Cross-site Scripting (XSS) en el renderizador de nombres de archivo. Un atacante no autenticado puede explotar esta vulnerabilidad al subir un archivo con un nombre de archivo malicioso que contenga código JavaScript (por ejemplo, ’[img src=1 onerror_disabled=alert( document.domain )]’) a un nodo de Webform con un campo Multifile donde la validación del tipo de archivo está deshabilitada. Esto permite la ejecución de scripts arbitrarios en el contexto del navegador de la víctima. El problema está presente en una biblioteca de terceros y se ha abordado en un parche disponible en https://github.com/fyneworks/multifile/pull/44. Se recomienda a los usuarios aplicar el parche proporcionado o actualizar a una versión corregida del módulo.
References
| https://www.drupal.org/node/3105204 | issue-tracking, patch, vendor-advisory | |
| https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/ | third-party-advisory | |
| https://www.herodevs.com/vulnerability-directory/cve-2025-12848 | third-party-advisory | |
| https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12848 changed 2026-03-26 | CVE Terms of Use |
| NVD | CVE-2025-12848 changed 2026-11-11 | Public domain |