CVE-2025-12848

MEDIUMCVSS 6.1/10EPSS 0.30%

Last modified

CVE-2025-12848 is a medium-severity vulnerability rated 6.1/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

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Webform Multiple File Upload ProjectWebform Multiple File Upload7.x-1.2—
Webform Multiple File Upload ProjectWebform Multiple File Upload7.x-1.3—
Webform Multiple File Upload ProjectWebform Multiple File Upload7.x-1.4—
Webform Multiple File Upload ProjectWebform Multiple File Upload7.x-1.5—
Webform Multiple File Upload ProjectWebform Multiple File Upload7.x-1.6—
Webform Multiple File Upload ProjectWebform Multiple File Upload7.x-1.xDev

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2025-12848?
CVE-2025-12848 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.30% probability of exploitation in the next 30 days.
How do I fix CVE-2025-12848?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-12848?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST