Vulnerability · Published Nov 26, 2025 · Assigned by drupal
CVE-2025-12848XSS vulnerability when rendering filename in Webform Multiform
High 7.0
In plain English
A high-severity cross-site scripting in Drupal from Drupal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities).
Official 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 products (as reported)
Weakness: CWE-79 · 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
References
- https://www.drupal.org/node/3105204 issue-tracking
- 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