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

Published Nov 26, 2025
·
Updated

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.

Affected Software

7 affected components
Drupal Webform Multiple File Upload module
Webform Multiple File Upload Project Webform Multiple File Upload Drupal=7.x-1.2
Webform Multiple File Upload Project Webform Multiple File Upload Drupal=7.x-1.3
Webform Multiple File Upload Project Webform Multiple File Upload Drupal=7.x-1.4
Webform Multiple File Upload Project Webform Multiple File Upload Drupal=7.x-1.5
Webform Multiple File Upload Project Webform Multiple File Upload Drupal=7.x-1.6
Webform Multiple File Upload Project Webform Multiple File Upload Drupal=7.x-1.x-dev

Event History

Nov 26, 2025
CVE Published
via MITRE·01:28 AM
Data Sourced
via MITRE·01:28 AM
DescriptionWeakness
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-12848?

CVE-2025-12848 is classified as a high-severity vulnerability due to its potential to allow cross-site scripting (XSS) attacks.

2

How do I fix CVE-2025-12848?

To fix CVE-2025-12848, update the Webform Multiple File Upload module to the latest patched version provided by Drupal.

3

Who can exploit CVE-2025-12848?

CVE-2025-12848 can be exploited by unauthenticated attackers who can upload files with malicious filenames.

4

What impact does CVE-2025-12848 have on my Drupal site?

The impact of CVE-2025-12848 includes the potential for attackers to execute arbitrary JavaScript in the context of users visiting the site.

5

Is there a workaround for CVE-2025-12848?

There are no official workarounds for CVE-2025-12848; the best course of action is to apply the available patch or update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203