CVE-2025-12848
Last modified
CVE-2025-12848 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Webform Multiple File Upload Project | Webform Multiple File Upload | 7.x-1.2 | — |
| Webform Multiple File Upload Project | Webform Multiple File Upload | 7.x-1.3 | — |
| Webform Multiple File Upload Project | Webform Multiple File Upload | 7.x-1.4 | — |
| Webform Multiple File Upload Project | Webform Multiple File Upload | 7.x-1.5 | — |
| Webform Multiple File Upload Project | Webform Multiple File Upload | 7.x-1.6 | — |
| Webform Multiple File Upload Project | Webform Multiple File Upload | 7.x-1.x | Dev |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-12848?
How severe is CVE-2025-12848?
How do I fix CVE-2025-12848?
Are you affected by CVE-2025-12848?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
