{"id":"CVE-2025-12848","aliases":["CLSA-2026-1789642476","EUVD-2025-199686","GHSA-5q8c-r7p8-3p9v"],"status":"published","title":"XSS vulnerability when rendering filename in Webform Multiform","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\nfilename containing JavaScript code (e.g., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","severity":{"version":"4.0","score":7,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00357,"percentile":0.29696,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-11-26T01:28:33Z","modified":"2026-10-28T02:30:22Z","fixes":[{"ecosystem":"TuxCare:Packagist","package":"drupal/webform_multifile","fixed_in":["7.1.6-p1+tuxcare"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"TuxCare:Packagist","package":"drupal/webform_multifile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.6"},{"fixed":"7.1.6-p1+tuxcare"}]}],"versions":["7.1.6"]}],"products":[{"vendor":"drupal","product":"drupal"},{"vendor":"webform_multiple_file_upload_project","product":"webform_multiple_file_upload"}],"references":[{"url":"https://www.drupal.org/node/3105204","tags":["issue-tracking","Patch","Vendor Advisory","report"]},{"url":"https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/","tags":["third-party-advisory","advisory"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-12848","tags":["third-party-advisory","advisory"]},{"url":"https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12848","tags":["advisory"]},{"url":"https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001"},{"url":"https://github.com/advisories/GHSA-5q8c-r7p8-3p9v"},{"url":"https://git.drupalcode.org/project/webform_multifile","tags":["web"]},{"url":"https://www.drupal.org/project/webform_multifile","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12848.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-12848","title":"XSS vulnerability when rendering filename in Webform Multiform","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\nfilename containing JavaScript code (e.g., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","status":"published","published":"2025-11-26T01:28:33.628Z","modified":"2026-03-26T20:52:30.614Z","cvss":[{"version":"4.0","score":7,"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","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:41.743125Z"}],"euvd":[{"id":"EUVD-2025-199686","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\nfilename containing JavaScript code (e.g., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","status":"published","published":"2025-11-26T01:28:33Z","modified":"2026-03-26T20:52:30Z","cvss":[{"version":"4.0","score":7,"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","level":"high"}],"updated_at":"2026-11-02T19:25:27.67679Z"}],"ghsa":[{"id":"GHSA-5q8c-r7p8-3p9v","title":"Webform Multiple File Upload module for Drupal 7.x contains a cross-site scripting (XSS)...","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\nfilename containing JavaScript code (e.g., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","status":"published","published":"2025-11-26T03:30:21Z","modified":"2026-03-26T21:31:19Z","cvss":[{"version":"4.0","score":7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:X/R:U/V:D/RE:L/U:Amber","level":"high"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:06:53.526079Z"}],"nvd":[{"id":"CVE-2025-12848","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\nfilename containing JavaScript code (e.g., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","status":"published","published":"2025-11-26T02:15:48.817Z","modified":"2026-06-17T08:33:04.7Z","cvss":[{"version":"4.0","score":7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:X/R:U/V:D/RE:L/U:Amber","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:46.94029Z"}],"osv":[{"id":"CVE-2025-12848","title":"XSS vulnerability when rendering filename in Webform Multiform","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\nfilename containing JavaScript code (e.g., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","status":"published","published":"2025-11-26T01:28:33.628Z","modified":"2026-10-28T02:30:22.511881291Z","cvss":[{"version":"4.0","score":7,"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","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:46.024537Z"},{"id":"CLSA-2026-1789642476","title":"TuxCare security update for drupal/webform_multifile (1 CVE)","description":"TuxCare rebuilt drupal/webform_multifile to address 1 CVE. Fixed in 7.1.6-p1+tuxcare.","status":"published","published":"2026-09-17T10:54:36Z","modified":"2026-10-15T09:48:00.482276965Z","updated_at":"2026-11-02T15:43:48.28229Z"}]}}
