CVE-2025-12848
JSON

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 packageVersionsReported by
Webform Multifile Uploadfrom 7.x-1.0 up to 7.x-1.6CVE List
webform_multiple_file_upload_project webform_multiple_file_upload7.x-1.2, 7.x-1.3, 7.x-1.4, 7.x-1.5, 7.x-1.6, 7.x-1.xNVD

All scores

drupal7.0high CVSS:4.0CVSS: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
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2025-12848 changed 2026-03-26CVE Terms of Use
NVDCVE-2025-12848 changed 2026-11-11Public domain