{"id":"CVE-2025-12848","aliases":["CVE-2025-12848"],"related":[],"kind":"vulnerability","state":"published","title":"XSS vulnerability when rendering filename in Webform Multiform","summary":"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\nfilename 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\nin the context of the victim's browser.\n \nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\nfilename 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\nin the context of the victim's browser.\n \nThe 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.","source":"cvelist"},{"lang":"es","text":"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.\n\nEl 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.","source":"nvd"}],"published":"2025-11-26T01:28:33.628Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"drupal","scheme":"CVSS:4.0","vector":"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","score":7,"rating":"HIGH"},"severities":[{"scorer":"drupal","scheme":"CVSS:4.0","vector":"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","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"7.x-1.0","lastAffected":"7.x-1.6","status":"affected"}],"vendor":"Drupal","product":"Drupal","package":"Webform Multifile Upload","repo":"https://git.drupalcode.org/project/webform_multifile","source":"cvelist"},{"ranges":[{"status":"affected","version":"7.x-1.2"},{"status":"affected","version":"7.x-1.3"},{"status":"affected","version":"7.x-1.4"},{"status":"affected","version":"7.x-1.5"},{"status":"affected","version":"7.x-1.6"},{"status":"affected","version":"7.x-1.x"}],"vendor":"webform_multiple_file_upload_project","product":"webform_multiple_file_upload","cpe":"cpe:2.3:a:webform_multiple_file_upload_project:webform_multiple_file_upload:7.x-1.2:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/node/3105204","tags":["issue-tracking","patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-12848","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-26T14:18:51.075Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12848","url":"https://www.cve.org/CVERecord?id=CVE-2025-12848","licence":"CVE Terms of Use","modified":"2026-03-26T20:52:30.614Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12848","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12848","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:08.029Z","epss":{"score":0.00357,"percentile":0.31442,"date":"2026-12-01T12:00:22.000Z"}}