XSS in Drupal
CVE-2025-12848
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (24.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 24th percentile — 24.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: -0.000
Affected products
- Drupal — versions 7.x-1.0
- Webform Multiple File Upload Project — versions 7.x-1.2, 7.x-1.3, 7.x-1.4
Weakness classification (CWE)
References
- www.drupal.org/node/3105204 (issue-tracking, Patch, Vendor Advisory)
- www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/ (third-party-advisory)
- www.herodevs.com/vulnerability-directory/cve-2025-12848 (third-party-advisory)
- d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-s… (third-party-advisory)
Frequently asked questions
- What is CVE-2025-12848?
- CVE-2025-12848 is a medium-severity vulnerability in Drupal, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-11-26.
- How severe is CVE-2025-12848?
- Medium severity. CVSS v3 base score is 6.1 out of 10.