Webform Multiple File Upload
CVE-2025-12848
HIGH
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world exploitation risk is moderate-to-low based on converging signals. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) confirms network-accessible, low-complexity attacks requiring no privileges but mandating user interaction. The EPSS score of 0.07% places this in the 21st percentile, indicating security researchers and threat actors assess exploitation probability as significantly below average. No public exploit identified at time of analysis further reduces immediate risk. The CVSS base score of 7.0 appears elevated relative to practical exploitability: successful attacks require victims to visit a page displaying the malicious filename AND the specific Webform configuration to have file type validation disabled, which is non-default. SSVC decision factors favor Defer priority: exploitation status is none, automation is possible but constrained by configuration requirements, and technical impact is limited to client-side XSS rather than server compromise. Organizations running Drupal 7.x with this module should prioritize patching during normal maintenance cycles rather than emergency response. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a publicly accessible Webform node using the Webform Multiple File Upload module with file type validation disabled. The attacker uploads a file with a crafted filename such as '<img src=x onerror=alert(document.domain)>.jpg' through the multifile upload interface. When site administrators or other users view the webform submission listing page where uploaded filenames are displayed, the malicious JavaScript embedded in the filename executes in their browser context, enabling session hijacking, credential theft, or defacement attacks. The low attack complexity and network-accessible vector make this exploitable by unsophisticated attackers, though the requirement for user interaction and specific misconfiguration limits practical impact. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Cross-site scripting (XSS) in Drupal 7.x Webform Multiple File Upload module versions 7.x-1.2 through 7.x-1.6 enables unauthenticated attackers to execute arbitrary JavaScript in victims' browsers by uploading files with malicious filenames to Webform nodes where file type validation is disabled. The vulnerability originates in the third-party fyneworks/multifile library's file name renderer. With EPSS at 0.07% (21st percentile) and no public exploit identified at time of analysis, exploitation probability remains low despite the CVSS 7.0 score.
RemediationAI
Apply the upstream fix available from the fyneworks/multifile library at https://github.com/fyneworks/multifile/pull/44 or upgrade to a fixed version of the Webform Multiple File Upload module per Drupal.org advisory https://www.drupal.org/node/3105204. The Drupal security team has released patched module versions incorporating the library fix; consult the vendor advisory for exact version numbers. Until patching is completed, implement defense-in-depth mitigations: enable strict file type validation on all Multifile fields to reject uploads with HTML/JavaScript in filenames, implement Content Security Policy headers to restrict inline script execution, and consider disabling the Webform Multiple File Upload module on public-facing forms if immediate patching is not feasible. Organizations maintaining legacy Drupal 7.x instances may consider HeroDevs extended support services (https://www.herodevs.com/vulnerability-directory/cve-2025-12848) for ongoing security maintenance.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects Webform Multiple File Upload module for Drupal 7.x, specifically versions 7.x-1.2, 7.x-1.3, 7.x-1.4, 7.x-1.5, 7.x-1.6, and 7.x-1.x development builds (confirmed via CPE strings cpe:2.3:a:webform_multiple_file_upload_project:webform_multiple_file_upload). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where the fyneworks/multifile JavaScript library fails to sanitize user-supplied filenames before rendering them in the browser DOM. When file type validation is disabled on Multifile fields, attackers can craft filenames containing HTML/JavaScript payloads that execute when the filename is displayed, bypassing output encoding protections. The issue resides in third-party client-side code rather than the Drupal module itself.
Know when Webform Multiple File Upload gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Drupal 7.x installations using the Webform Multiple File Upload module (versions 7.x-1.2 through 7.x-1.6) are vulnerable to stored cross-site scripting attacks when file type validation is disabled, allowing unauthenticated attackers to inject malicious code through specially crafted filenames. Organizations relying on this module for user-facing webform submissions face potential compromise of visitor sessions and data theft, particularly those accepting file uploads without strict validation controls.
Apply vendor patch. Interim mitigations pending patch deployment: (1) disable file upload fields on all webform nodes until patched; (2) implement web application firewall rules to block upload requests containing common XSS payloads (script tags, event handlers, encoded variants); (3) enforce strict filename validation at the web server level (alphanumeric, hyphens, underscores only); (4) ensure file type validation is enabled in webform configuration and verify against actual file content, not extension alone.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB