CVE-2025-12848 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-12848 |
|---|---|
| Base Severity / Score | MEDIUM (6.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream 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