# CVE-2025-12848: XSS vulnerability when rendering filename in Webform Multiform

- Severity: High 7.0 (CVSS:4.0, scored by drupal) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-11-26T01:28:33.628Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: drupal

## 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.

(As written by CVE List.)

## Affected

- Webform Multifile Upload: from 7.x-1.0 up to 7.x-1.6
- 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

## Every score

- drupal: CVSS:4.0 7.0 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.drupal.org/node/3105204> (issue-tracking, patch, vendor-advisory)
- <https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/> (third-party-advisory)
- <https://www.herodevs.com/vulnerability-directory/cve-2025-12848> (third-party-advisory)
- <https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-12848](https://www.cve.org/CVERecord?id=CVE-2025-12848), CVE Terms of Use, modified 2026-03-26
- NVD: [CVE-2025-12848](https://nvd.nist.gov/vuln/detail/CVE-2025-12848), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2025-12848 · Whole record: https://cve.day/CVE-2025-12848.json · Rebuilt by cve.day 2026-11-25T22:59:08.029Z
