What’s Vulnerable › Vulnerabilities
CVE-2025-12848: XSS vulnerability when rendering filename in Webform Multiform
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-26 · updated 2026-06-17
- Weakness: CWE-79
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
- 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-dev
References
- https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting
- https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/
- https://www.drupal.org/node/3105204
- https://www.herodevs.com/vulnerability-directory/cve-2025-12848
Get alerted when CVE-2025-12848 or the next vulnerability affects your stack